diff options
Diffstat (limited to 'xlunch-conf-remove.hook')
-rw-r--r-- | xlunch-conf-remove.hook | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlunch-conf-remove.hook b/xlunch-conf-remove.hook index e364174ae357..91c92db8fb62 100644 --- a/xlunch-conf-remove.hook +++ b/xlunch-conf-remove.hook @@ -5,6 +5,6 @@ Target = usr/share/applications/* [Action] Description = Updating xlunch icons.conf... -Exec = bin/sh -c 'while read -r f; do if [ '$f' != "/usr/share/applications" -a -n '$f' ]; then grep -v "$(xlunch-create-entry '$f')" /etc/xlunch/icons.conf > /etc/xlunch/icons-new.conf; fi; if [ -n "$(cat /etc/xlunch/icons-new.conf)" ]; then mv /etc/xlunch/icons-new.conf /etc/xlunch/icons.conf; fi; done' +Exec = bin/bash -c 'while read -r f; do grep -v "$(xlunch-create-entry '$f')" /etc/xlunch/icons.conf > /etc/xlunch/icons-new.conf; if [ -n "$(cat /etc/xlunch/icons-new.conf)" ]; then mv /etc/xlunch/icons-new.conf /etc/xlunch/icons.conf; fi; done' When = PreTransaction NeedsTargets |