X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/2d18d44ecd4bfe976805024279e5118d11be26b9..73e0ee1e7f97571d7be3277e3c25c2f41b2bb946:/debian/postrm diff --git a/debian/postrm b/debian/postrm index 625280034..ae1e18d33 100755 --- a/debian/postrm +++ b/debian/postrm @@ -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