X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b2e465d6d32d2dc884f58b94acb7e35f671a87fe..ccdb2885a74939b4bd4237c71afc26b33b9a2e73:/debian/preinst?ds=sidebyside 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#