From: Ian Kelling Date: Tue, 24 Jan 2017 20:25:54 +0000 (-0800) Subject: fix debian to purge dependency config files X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=07f1ee61a8463712581056259de1f458061a9179;p=distro-functions fix debian to purge dependency config files --- diff --git a/src/package-manager-abstractions b/src/package-manager-abstractions index ca3b43b..77965bb 100644 --- a/src/package-manager-abstractions +++ b/src/package-manager-abstractions @@ -89,8 +89,7 @@ EOF } pu() { local s; [[ $EUID != 0 ]] && s=sudo - $s apt-get -y purge "$@" - $s apt-get -y autoremove + $s apt-get -y remove --purge --auto-remove "$@" } pup() { # upgrade pupdate