summaryrefslogtreecommitdiff
path: root/desktop/q4wine/doinst.sh
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 07:30:28 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-29 17:17:41 -0500
commit4668c84c32bf26588dc2fba1ecd02d88abb296c9 (patch)
treeddf271f6b2eac021bc641a6eaaab3bfde5643703 /desktop/q4wine/doinst.sh
parent8cdac3e30e4e4c66dbb3cdf1604f28f9789c30b5 (diff)
downloadslackbuilds-4668c84c32bf26588dc2fba1ecd02d88abb296c9.tar.gz
desktop/q4wine: Fixed (Handle icon files)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/q4wine/doinst.sh')
-rw-r--r--desktop/q4wine/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/q4wine/doinst.sh b/desktop/q4wine/doinst.sh
index 65fd352418..ee51833f41 100644
--- a/desktop/q4wine/doinst.sh
+++ b/desktop/q4wine/doinst.sh
@@ -2,3 +2,10 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
+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
+
+