aboutsummaryrefslogtreecommitdiff
path: root/network/knemo/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-06-17 13:11:44 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-06-17 14:41:51 -0500
commit6e7547a073d95e02fed5421e1c69e93e077a7aa4 (patch)
tree388cf08a5d6d14dcaf23ca26cc888ee0b0c17dd0 /network/knemo/doinst.sh
parent6626cde366344eb0e40a9eed291f613f230ca78d (diff)
network/knemo: Update the hicolor icon cache in doinst.sh
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'network/knemo/doinst.sh')
-rw-r--r--network/knemo/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/network/knemo/doinst.sh b/network/knemo/doinst.sh
index 4e8ba7071dea7..1f8ff67dedb29 100644
--- a/network/knemo/doinst.sh
+++ b/network/knemo/doinst.sh
@@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q 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
+