summaryrefslogtreecommitdiff
path: root/gis/merkaartor/doinst.sh
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-06-09 08:16:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-10 08:02:42 +0700
commitc5778673bca541697e402f65c81e18c4261c59ba (patch)
tree3fca3d53aa2446b19e3740263568a2e34cff70c9 /gis/merkaartor/doinst.sh
parent37dceb8aa361c53ba16ff93d9828d2f64e8fc47a (diff)
downloadslackbuilds-c5778673bca541697e402f65c81e18c4261c59ba.tar.gz
gis/merkaartor: Moved from misc/ category.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'gis/merkaartor/doinst.sh')
-rw-r--r--gis/merkaartor/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/gis/merkaartor/doinst.sh b/gis/merkaartor/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/gis/merkaartor/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
+