summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 0e38d2c1..953bda2a 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -434,9 +434,9 @@ remove_deps() {
msg "Removing installed dependencies..."
if [ "$ASROOT" = "0" ]; then
- sudo pacman $PACMAN_OPTS -Rs $deplist
+ sudo pacman $PACMAN_OPTS -Rns $deplist
else
- pacman $PACMAN_OPTS -Rs $deplist
+ pacman $PACMAN_OPTS -Rns $deplist
fi
}