]> git.saurik.com Git - apt-legacy.git/blob - debian/prerm
ac70a0279e4d18052097c220025cf67880ca6da5
[apt-legacy.git] / debian / prerm
1 #! /bin/sh
2
3 #DEBHELPER#
4
5 if [ "$1" = "upgrade" -o "$1" = "failed-upgrade" ] &&
6 dpkg --compare-versions "$2" "<<" 0.4.10
7 then
8 if [ ! -d /var/state/apt/ ]; then
9 ln -s /var/lib/apt /var/state/apt
10 touch /var/lib/apt/lists/partial/.delete-me-later
11 fi
12 fi
13