]> git.saurik.com Git - apt.git/blobdiff - debian/postrm
merged from donkult
[apt.git] / debian / postrm
index bc6fa28905ebfbabca342d281ed8aa7caf8484ac..ae1e18d33df28abf150f8d05a3b447f23ea18653 100755 (executable)
@@ -8,15 +8,15 @@
 # the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
 
+set -e
+
 #DEBHELPER#
 
 case "$1" in
+       remove)
+               ;;
        purge)
-               echo -n "Removing APT cache and state files... "
-               echo -n "/var/cache/apt"
                rm -rf /var/cache/apt
-               echo -n ", /var/lib/apt"
                rm -rf /var/lib/apt
-               echo ". Done."
 esac