summaryrefslogtreecommitdiff
path: root/system/jdiskreport/doinst.sh
diff options
context:
space:
mode:
authorAlan Alberghini <414N@slacky.it>2012-04-15 22:31:52 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-16 05:36:01 -0500
commit160bb34e189d137dd74b72864cb4312d6e4b544d (patch)
treeb6c890b4eadc9b4868a23ba5c66fffe08c02f5d9 /system/jdiskreport/doinst.sh
parentf17fe4dfcf86e603e813c9baab438aaec9c16790 (diff)
downloadslackbuilds-160bb34e189d137dd74b72864cb4312d6e4b544d.tar.gz
system/jdiskreport: Updated for version 1.4.0.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/jdiskreport/doinst.sh')
-rw-r--r--system/jdiskreport/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/jdiskreport/doinst.sh b/system/jdiskreport/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/system/jdiskreport/doinst.sh
@@ -0,0 +1,10 @@
+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
+