]> git.saurik.com Git - apt.git/blobdiff - debian/postrm
* Patch from Otavio Salvador to avoid listing suggests/...
[apt.git] / debian / postrm
index 625280034f6bf969ceab5c34af38af945a5388c2..d56a2d72d6fdb8b6665eae39d4c376f747f59276 100755 (executable)
@@ -8,13 +8,14 @@
 # the Free Software Foundation; either version 2 of the License, or
 # (at your option) any later version.
 
+#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/state/apt"
-               rm -rf /var/state/apt
-               echo ". Done."
+               rm -rf /var/lib/apt
 esac