X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/1156d969749480f1fbe6c5d37dcd54e6ac411cb9..43be0ac4b37f3a82ae4a16e473c3d8e44637ce1b:/debian/preinst diff --git a/debian/preinst b/debian/preinst index 276eae5de..985ad9b84 100755 --- a/debian/preinst +++ b/debian/preinst @@ -1,5 +1,7 @@ #! /bin/sh +set -e + # dpkg does this for us while we are upgrading.. #if [ "$1" = "upgrade" -a -L /var/state/apt -a -e /var/lib/apt -a ! -L /var/state/apt ] && dpkg --compare-versions "$2" ">=" "0.4.10"; then # rm /var/state/apt