More flags that for pacman that shouldn't trigger root.

This commit is contained in:
Simon Gomizelj 2011-11-29 06:17:21 -05:00
commit e5a3d11638

View file

@ -52,7 +52,7 @@ asroot() {
pacman() {
pacman_bin=${commands[pacman-color]:-/usr/bin/pacman}
case $1 in
-S | -S[^sih]* | -R* | -U*) asroot $pacman_bin $@ ;;
-S | -S[^sihgl]* | -R* | -U*) asroot $pacman_bin $@ ;;
*) $pacman_bin "$@" ;;
esac
}