summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-05-20 17:41:21 -0500
committerDan McGee <dan@archlinux.org>2012-05-20 17:41:21 -0500
commit9f6a67fee71a63848f958212c1b5a2abd0f735a5 (patch)
treee33a982bca695119eb4ffe938e5b5acf42dad554 /contrib
parentfc9002188b588cda1f5362d6d15bd6996c532982 (diff)
parent5de465d63efbb82da6127ac927ad29b9c8b1b542 (diff)
Merge branch 'maint'
Conflicts: scripts/pacman-key.sh.in
Diffstat (limited to 'contrib')
-rw-r--r--contrib/pacsysclean.sh.in2
1 files changed, 1 insertions, 1 deletions
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