summaryrefslogtreecommitdiffstats
path: root/development/icemon/doinst.sh
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@liwjatan.at>2014-03-31 09:32:34 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-31 09:32:34 +0700
commit51562302ad9611974c58b970d77377853899e33e (patch)
tree08004da642d94ef2b60943cb926aaaffcb94618d /development/icemon/doinst.sh
parentbd261da372e3fb037db265331407d48a7a4747a9 (diff)
downloadslackbuilds-51562302ad9611974c58b970d77377853899e33e.tar.gz
slackbuilds-51562302ad9611974c58b970d77377853899e33e.tar.xz
development/icemon: Added (Monitor for icecream).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/icemon/doinst.sh')
-rw-r--r--development/icemon/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/development/icemon/doinst.sh b/development/icemon/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/development/icemon/doinst.sh
@@ -0,0 +1,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