]> git.saurik.com Git - apt.git/blame - debian/prerm
* doc/apt-get.8.xml:
[apt.git] / debian / prerm
CommitLineData
b2e465d6
AL
1#! /bin/sh
2
0c96f6df
EL
3set -e
4
1156d969
AL
5#DEBHELPER#
6
b2e465d6
AL
7if [ "$1" = "upgrade" -o "$1" = "failed-upgrade" ] &&
8 dpkg --compare-versions "$2" "<<" 0.4.10
9then
10 if [ ! -d /var/state/apt/ ]; then
11 ln -s /var/lib/apt /var/state/apt
12 touch /var/lib/apt/lists/partial/.delete-me-later
13 fi
14fi
15