X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/2d18d44ecd4bfe976805024279e5118d11be26b9..7e43ab9d47ad9d4712441968bd3fdf919c912c45:/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