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