Fix a postrm bug due to debconf generating errors if the apt-p2p user is missing.
authorCameron Dale <camrdale@gmail.com>
Sat, 26 Apr 2008 03:10:23 +0000 (20:10 -0700)
committerCameron Dale <camrdale@gmail.com>
Sat, 26 Apr 2008 03:10:23 +0000 (20:10 -0700)
debian/postrm

index fa48524..c2ea957 100644 (file)
@@ -17,6 +17,11 @@ set -e
 # for details, see http://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
 if test "$1" = "purge"; then
   # Remove the logs
   rm -rf /var/log/apt-p2p.log*
@@ -29,9 +34,4 @@ if test "$1" = "purge"; then
   fi
 fi
 
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
 exit 0