aboutsummaryrefslogtreecommitdiff
path: root/gis/qgis/doinst.sh
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2014-02-02 06:41:03 +0700
committerRobby Workman <rworkman@slackbuilds.org>2014-02-02 02:09:49 -0600
commit8e68364dbb16ce0bca716d05a47b44a6dee6c419 (patch)
treec331781d6ff607b948e5abeedd716bd3ebcd51a9 /gis/qgis/doinst.sh
parent391aa7c2ed513bdcd9768e8afc357d840e29b94c (diff)
gis/qgis: Moved from Academic category.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/qgis/doinst.sh')
-rw-r--r--gis/qgis/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/gis/qgis/doinst.sh b/gis/qgis/doinst.sh
new file mode 100644
index 000000000000..69d003d68bdc
--- /dev/null
+++ b/gis/qgis/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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