You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
268 B

#! /bin/sh
#DEBHELPER#
if [ "$1" = "upgrade" -o "$1" = "failed-upgrade" ] &&
dpkg --compare-versions "$2" "<<" 0.4.10
then
if [ ! -d /var/state/apt/ ]; then
ln -s /var/lib/apt /var/state/apt
touch /var/lib/apt/lists/partial/.delete-me-later
fi
fi