X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e417fca8b8ee8d0dc22e6d65925fefe63774d73c..ca4907db7c8ec2d409a9ca32aeb2ccb4c3cd40aa:/debian/postrm

diff --git a/debian/postrm b/debian/postrm
index f93eb762a..ae1e18d33 100755
--- a/debian/postrm
+++ b/debian/postrm
@@ -8,18 +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)
-		ldconfig
 		;;
        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