X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e417fca8b8ee8d0dc22e6d65925fefe63774d73c..cb3cc4806c6585757377dfd54b7ce880ae1f99c7:/debian/postrm?ds=sidebyside diff --git a/debian/postrm b/debian/postrm index f93eb762a..ae1e18d33 100755 --- a/debian/postrm +++ b/debian/postrm @@ -8,18 +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) - ldconfig ;; purge) - echo -n "Removing APT cache and state files... " - echo -n "/var/cache/apt" rm -rf /var/cache/apt - echo -n ", /var/lib/apt" rm -rf /var/lib/apt - echo ". Done." esac