aboutsummaryrefslogtreecommitdiff
path: root/academic/xflr5/doinst.sh
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2018-03-05 21:13:16 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-10 07:11:01 +0700
commit65d940ffc79bcffd399ac482e8020ee148c59efa (patch)
tree0c358fc79ab6d4db38b61b84e8941760521d7878 /academic/xflr5/doinst.sh
parent696d1fbd7bfb06cefc8fa0755dd888de1adf885a (diff)
academic/xflr5: Fix slack-desc, add doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/xflr5/doinst.sh')
-rw-r--r--academic/xflr5/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/xflr5/doinst.sh b/academic/xflr5/doinst.sh
new file mode 100644
index 000000000000..65c7e2eeb9aa
--- /dev/null
+++ b/academic/xflr5/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi