summaryrefslogtreecommitdiff
path: root/academic/omlibraries/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-10-24 01:03:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-24 01:06:02 +0700
commit601999d0206f48efdedf5f6c35c4309b5d0d153b (patch)
tree39dbc6c0468e91e61cc0355c13a69db53d981702 /academic/omlibraries/doinst.sh
parentccd110ed4c31bc2beb4fcefa6bbc8665399a6d22 (diff)
downloadslackbuilds-601999d0206f48efdedf5f6c35c4309b5d0d153b.tar.gz
academic/omlibraries: Added (Libraries Collection).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/omlibraries/doinst.sh')
-rw-r--r--academic/omlibraries/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/omlibraries/doinst.sh b/academic/omlibraries/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/omlibraries/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