iankelling.org
/
git
/
distro-functions
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e2c8f4
)
fix debian to purge dependency config files
author
Ian Kelling
<ian@iankelling.org>
Tue, 24 Jan 2017 20:25:54 +0000
(12:25 -0800)
committer
Ian Kelling
<ian@iankelling.org>
Tue, 24 Jan 2017 20:25:54 +0000
(12:25 -0800)
src/package-manager-abstractions
patch
|
blob
|
history
diff --git
a/src/package-manager-abstractions
b/src/package-manager-abstractions
index ca3b43bac7d8b7a08704c5b949e1ecbaa50a978e..77965bbce02f1f318887042e67cacf1575bb5f90 100644
(file)
--- 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