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:
parent
7d51882dd0
commit
6f5ee2432c
1 changed files with 2 additions and 2 deletions
|
@ -434,9 +434,9 @@ remove_deps() {
|
||||||
|
|
||||||
msg "Removing installed dependencies..."
|
msg "Removing installed dependencies..."
|
||||||
if [ "$ASROOT" = "0" ]; then
|
if [ "$ASROOT" = "0" ]; then
|
||||||
sudo pacman $PACMAN_OPTS -Rs $deplist
|
sudo pacman $PACMAN_OPTS -Rns $deplist
|
||||||
else
|
else
|
||||||
pacman $PACMAN_OPTS -Rs $deplist
|
pacman $PACMAN_OPTS -Rns $deplist
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue