summaryrefslogtreecommitdiff
path: root/misc/merkaartor/doinst.sh
diff options
context:
space:
mode:
authorotzy_007 <oz@oprod.net>2010-04-22 18:55:53 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-15 10:50:22 +0200
commit4d99ff99a4907f5612af67820dde2bc950057120 (patch)
treea5b9198a1bb151d3bc63288de0884f1854ae3172 /misc/merkaartor/doinst.sh
parentf637e44de4687f7cc23cad4657530295fb3c26f2 (diff)
downloadslackbuilds-4d99ff99a4907f5612af67820dde2bc950057120.tar.gz
misc/merkaartor: Added.
Merkaartor is an openstreetmap mapping program. Thanks to "otzy_007".
Diffstat (limited to 'misc/merkaartor/doinst.sh')
-rw-r--r--misc/merkaartor/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/merkaartor/doinst.sh b/misc/merkaartor/doinst.sh
new file mode 100644
index 0000000000..c9b350da4f
--- /dev/null
+++ b/misc/merkaartor/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 \ No newline at end of file