aboutsummaryrefslogtreecommitdiff
path: root/academic/stellarium/doinst.sh
diff options
context:
space:
mode:
authorAlan Alberghini <414N@slacky.it>2017-08-19 22:46:10 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-26 07:19:30 +0700
commit18d408de57ae359fcc4f0c12d4ab236390951d58 (patch)
tree182c07f9c6485b1bbafac867d6f73143ec3cdf41 /academic/stellarium/doinst.sh
parent70c951e1a736763fa5dd3b7a08fc39980d5f7aa5 (diff)
academic/stellarium: Updated for version 0.16.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/stellarium/doinst.sh')
-rw-r--r--academic/stellarium/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/academic/stellarium/doinst.sh b/academic/stellarium/doinst.sh
index 5fb28930db0b..65c7e2eeb9aa 100644
--- a/academic/stellarium/doinst.sh
+++ b/academic/stellarium/doinst.sh
@@ -1,3 +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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi