]> git.saurik.com Git - apt.git/blame - debian/prerm
* merged from apt--auto-mark
[apt.git] / debian / prerm
CommitLineData
b2e465d6
AL
1#! /bin/sh
2
1156d969
AL
3#DEBHELPER#
4
b2e465d6
AL
5if [ "$1" = "upgrade" -o "$1" = "failed-upgrade" ] &&
6 dpkg --compare-versions "$2" "<<" 0.4.10
7then
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
12fi
13