]> git.saurik.com Git - apt.git/blobdiff - debian/preinst
* apt-pkg/orderlist.cc:
[apt.git] / debian / preinst
index 141db6e451a159908a174bdda4204fce9d6f117c..985ad9b84dbeb65e2b95d36d5bb8bc281a1152a2 100755 (executable)
@@ -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#