summaryrefslogtreecommitdiffstats
path: root/ship
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-12-30 17:37:55 +0100
committermakefu <github@syntax-fehler.de>2013-12-30 17:37:55 +0100
commitefef353ef2bf65ef6123fc699bce6c69fc37cfcc (patch)
tree24d647e8151dd142a05d80ac4e66905670228a64 /ship
parent2d7276a789a9ce2062c351afd27e33021c1ce5b1 (diff)
fix punani bug regarding pacman package removal
Diffstat (limited to 'ship')
-rw-r--r--ship/TODO3
-rw-r--r--ship/lib/punani2
2 files changed, 1 insertions, 4 deletions
diff --git a/ship/TODO b/ship/TODO
index bc522b79..e69de29b 100644
--- a/ship/TODO
+++ b/ship/TODO
@@ -1,3 +0,0 @@
-# punani
-
-- pacman cannot automagically remove packages
diff --git a/ship/lib/punani b/ship/lib/punani
index 512c732c..4338d19d 100644
--- a/ship/lib/punani
+++ b/ship/lib/punani
@@ -34,7 +34,7 @@ _punani_select_packer() {
}
_punani_known_packers='pacman apt-get yum brew'
_punani_pacman_install(){ pacman --noconfirm -S --needed "$@" ;}
-_punani_pacman_remove(){ pacman -Rcs "$@" ;}
+_punani_pacman_remove(){ pacman --noconfirm -Rcs "$@" ;}
_punani_pacman_has(){ pacman -Q "$1" >/dev/null;}
_punani_pacman_owner() { pacman -Qo "$1"; }
_punani_aptget_install(){ apt-get -y install "$@" ;}