index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | contrib/pacsysclean.sh.in | 2 |
diff --git a/contrib/pacsysclean.sh.in b/contrib/pacsysclean.sh.in index 162530ef..f80c816d 100644 --- a/contrib/pacsysclean.sh.in +++ b/contrib/pacsysclean.sh.in @@ -36,7 +36,7 @@ IFS=$'\n' name="^Name.*: (.*)$" size="^Installed Size.*: (.*) KiB$" -[[ $PACMAN_OPTS != -* ]] && PACMAN_OPTS="-$PACMAN_OPTS" +[[ $PACMAN_OPTS && $PACMAN_OPTS != -* ]] && PACMAN_OPTS="-$PACMAN_OPTS" for line in $(LANG=C pacman -Qi $PACMAN_OPTS); do if [[ $line =~ $name ]]; then |