X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/2d18d44ecd4bfe976805024279e5118d11be26b9..3b5607fc31371190470074371793cb8500b5139e:/debian/postrm?ds=sidebyside 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