X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b2e465d6d32d2dc884f58b94acb7e35f671a87fe..f1d86c0ee906dc7252dc9158c354c42d3ededa2f:/debian/preinst diff --git a/debian/preinst b/debian/preinst index 141db6e45..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 @@ -26,3 +28,5 @@ if [ "$1" = "upgrade" -o "$1" = "install" -a "$2" != "" ]; then fi touch /var/lib/apt/lists/partial/.delete-me-later || true fi + +#DEBHELPER#