]> git.saurik.com Git - apt.git/blame_incremental - debian/prerm
* apt-inst/contrib/arfile.cc:
[apt.git] / debian / prerm
... / ...
CommitLineData
1#! /bin/sh
2
3set -e
4
5#DEBHELPER#
6
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