aboutsummaryrefslogtreecommitdiff
path: root/academic/openmodelica/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-10-24 00:47:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-24 01:06:02 +0700
commitccd110ed4c31bc2beb4fcefa6bbc8665399a6d22 (patch)
treee2e3d36108ade48ab6a6a00310bee0d5d07c3f03 /academic/openmodelica/doinst.sh
parentc9ab166d6f0da1a5881c7c985569f35c7e84b32b (diff)
academic/openmodelica: Added (Modeling and Simulation Environment).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/openmodelica/doinst.sh')
-rw-r--r--academic/openmodelica/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/openmodelica/doinst.sh b/academic/openmodelica/doinst.sh
new file mode 100644
index 000000000000..3e5691a052b5
--- /dev/null
+++ b/academic/openmodelica/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi