summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoman Kyrylych <roman@archlinux.org>2007-11-11 16:25:44 +0200
committerDan McGee <dan@archlinux.org>2007-11-11 09:39:39 -0600
commit6f5ee2432ccdd0a3bef742938cdd7552bc6a5c32 (patch)
treeb6ffd6b82a290312c69a6864d3f7256a5f710868 /scripts
parent7d51882dd0afdb87fe986a7d7c672cc0be93795b (diff)
makepkg: remove .pacsave files when uninstalling dependencies
Signed-off-by: Roman Kyrylych <roman@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
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
}