makepkg: remove .pacsave files when uninstalling dependencies

Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Roman Kyrylych 2007-11-11 16:25:44 +02:00 committed by Dan McGee
parent 7d51882dd0
commit 6f5ee2432c

View file

@ -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
}