summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-09 19:16:15 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-09 19:16:15 +0000
commit0ae434d9e1c96a614ed245a6a1ba595186cf4e97 (patch)
tree99b43e2abd8499cbaf031f4341d77ef714e3f2b0 /scripts
parentd9a641a7a03484de1e3875b7af39c9f83627aec4 (diff)
downloadpacman-0ae434d9e1c96a614ed245a6a1ba595186cf4e97.tar.xz
* Fix #2982 - use -Rs to remove deps
* "pacman3" seems to have snuck in there somehow, fixed that
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/makepkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg b/scripts/makepkg
index 124f8d71..1e16af34 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -306,7 +306,7 @@ handledeps() {
removedeps() {
if [ "$RMDEPS" = "1" -a "$EUID" = "0" -a "$INFAKEROOT" != "1" -a \( ! -z "$deplist" -o ! -z "$makedeplist" \) ]; then
msg "Removing installed dependencies..."
- pacman3 $PACMAN_OPTS -R $makedeplist $deplist
+ pacman $PACMAN_OPTS -Rs $makedeplist $deplist
# fixes bug #6215
elif [ "$RMDEPS" = "1" -a "$DEP_SUDO" = "1" -a \( ! -z "$deplist" -o ! -z "$makedeplist" \) ]; then
msg "Removing installed dependencies..."
@@ -314,7 +314,7 @@ removedeps() {
export FAKEROOTKEY2=$FAKEROOTKEY
unset FAKEROOTKEY
fi
- sudo pacman3 $PACMAN_OPTS -R $makedeplist $deplist
+ sudo pacman $PACMAN_OPTS -Rs $makedeplist $deplist
if [ "$INFAKEROOT" = "1" ]; then
export FAKEROOTKEY=$FAKEROOTKEY2
unset FAKEROOTKEY2