]> git.saurik.com Git - apt.git/blobdiff - debian/postrm
test/integration/test-ubuntu-bug-346386-apt-get-update-paywall: use downloadfile()
[apt.git] / debian / postrm
index 625280034f6bf969ceab5c34af38af945a5388c2..ae1e18d33df28abf150f8d05a3b447f23ea18653 100755 (executable)
@@ -8,13 +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/state/apt"
-               rm -rf /var/state/apt
-               echo ". Done."
+               rm -rf /var/lib/apt
 esac