diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2014-02-02 06:41:03 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2014-02-02 02:09:49 -0600 |
commit | 8e68364dbb16ce0bca716d05a47b44a6dee6c419 (patch) | |
tree | c331781d6ff607b948e5abeedd716bd3ebcd51a9 /gis/qgis/doinst.sh | |
parent | 391aa7c2ed513bdcd9768e8afc357d840e29b94c (diff) | |
download | slackbuilds-8e68364dbb16ce0bca716d05a47b44a6dee6c419.tar.gz |
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.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gis/qgis/doinst.sh b/gis/qgis/doinst.sh new file mode 100644 index 0000000000..69d003d68b --- /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 |