From 0ae434d9e1c96a614ed245a6a1ba595186cf4e97 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 9 Feb 2007 19:16:15 +0000 Subject: * Fix #2982 - use -Rs to remove deps * "pacman3" seems to have snuck in there somehow, fixed that --- scripts/makepkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/makepkg') 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 -- cgit v1.2.3-70-g09d2