]> git.saurik.com Git - apt.git/blobdiff - debian/postrm
methods/https.cc: do not unlink partial files (thanks to robbiew)
[apt.git] / debian / postrm
index f93eb762ab1f0a96b95b34ac26fb61f52cf67286..ae1e18d33df28abf150f8d05a3b447f23ea18653 100755 (executable)
@@ -8,18 +8,15 @@
 # the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
 
 # the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
 
+set -e
+
 #DEBHELPER#
 
 case "$1" in
        remove)
 #DEBHELPER#
 
 case "$1" in
        remove)
-               ldconfig
                ;;
        purge)
                ;;
        purge)
-               echo -n "Removing APT cache and state files... "
-               echo -n "/var/cache/apt"
                rm -rf /var/cache/apt
                rm -rf /var/cache/apt
-               echo -n ", /var/lib/apt"
                rm -rf /var/lib/apt
                rm -rf /var/lib/apt
-               echo ". Done."
 esac
 
 esac