summaryrefslogtreecommitdiffstats
path: root/gis/viking/doinst.sh
diff options
context:
space:
mode:
author David Spencer2014-02-04 17:54:48 +0100
committer Erik Hanson2014-02-08 18:10:10 +0100
commit774dab7d85268a94737b5a6bed2e8dc76af48062 (patch)
tree6e88702b5ae01cbde3feaf4d879103bbec5dd228 /gis/viking/doinst.sh
parent4d6424552be8d526f8ee94d973e411b9401a9b67 (diff)
downloadslackbuilds-774dab7d85268a94737b5a6bed2e8dc76af48062.tar.gz
gis/viking: Moved from Misc category.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/viking/doinst.sh')
-rw-r--r--gis/viking/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/gis/viking/doinst.sh b/gis/viking/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/gis/viking/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
+