aboutsummaryrefslogtreecommitdiff
path: root/gis/navit/doinst.sh
diff options
context:
space:
mode:
authorSebastian Arcus <s.arcus@open-t.co.uk>2016-08-11 13:28:29 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:19 +0700
commit61367802ae2e41acaa7fbe053cf3e67f035af59f (patch)
treed5d206cd3a155ff84f9c567f50bf2a82b8e1659b /gis/navit/doinst.sh
parentd918938576ee3dbac301d24056bdc8c931c73701 (diff)
gis/navit: Added (gps navigation system with routing engine)
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'gis/navit/doinst.sh')
-rw-r--r--gis/navit/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/gis/navit/doinst.sh b/gis/navit/doinst.sh
new file mode 100644
index 0000000000000..1f8ff67dedb29
--- /dev/null
+++ b/gis/navit/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
+