fix debian to purge dependency config files
authorIan Kelling <ian@iankelling.org>
Tue, 24 Jan 2017 20:25:54 +0000 (12:25 -0800)
committerIan Kelling <ian@iankelling.org>
Tue, 24 Jan 2017 20:25:54 +0000 (12:25 -0800)
src/package-manager-abstractions

index ca3b43bac7d8b7a08704c5b949e1ecbaa50a978e..77965bbce02f1f318887042e67cacf1575bb5f90 100644 (file)
@@ -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