diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2013-06-08 09:15:26 -0300 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-06-09 12:58:18 -0400 |
commit | 894625ba1b0cddc6b8ed1880a0d4a1b30010b7fc (patch) | |
tree | c69791d7d955d32b9d4985eba0ac5ec363169b29 /academic/qgis/doinst.sh | |
parent | 125dee2506e642a8e07d3b52b9af5a2e7c8b4a09 (diff) | |
download | slackbuilds-894625ba1b0cddc6b8ed1880a0d4a1b30010b7fc.tar.gz |
academic/qgis: Updated for version 1.8.0 + new maintainer
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/qgis/doinst.sh')
-rw-r--r-- | academic/qgis/doinst.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/academic/qgis/doinst.sh b/academic/qgis/doinst.sh index 5fb28930db..69d003d68b 100644 --- a/academic/qgis/doinst.sh +++ b/academic/qgis/doinst.sh @@ -1,3 +1,13 @@ if [ -x /usr/bin/update-desktop-database ]; then - /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 + /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 |