summaryrefslogtreecommitdiff
path: root/system/p7zip/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:41:16 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:41:16 +0200
commit7ec0acb0c761ce7e32b78db985015d1032ac2827 (patch)
tree84f1a8101fc1224a1d2fe102eb95f10d6cd3cbc4 /system/p7zip/doinst.sh
parent342d7eb38ca4fb8c9606c5176ea651db17b70df3 (diff)
downloadslackbuilds-7ec0acb0c761ce7e32b78db985015d1032ac2827.tar.gz
system/p7zip: Updated for version 9.04
Diffstat (limited to 'system/p7zip/doinst.sh')
-rw-r--r--system/p7zip/doinst.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/p7zip/doinst.sh b/system/p7zip/doinst.sh
index f72fb66224..30eb690936 100644
--- a/system/p7zip/doinst.sh
+++ b/system/p7zip/doinst.sh
@@ -1,4 +1,6 @@
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- ./usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
fi