summaryrefslogtreecommitdiff
path: root/academic/ghemical/doinst.sh
diff options
context:
space:
mode:
authorDaniil Bratashov <dn2010@gmail.com>2010-05-13 00:57:17 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:57:17 +0200
commit0655c91b45832dbb4bce53b1d524550fdd26db6e (patch)
tree6c675e74988ab7a3475bfe35f86492cf509dbddc /academic/ghemical/doinst.sh
parent55c1a30c6e5388224a203d2b163ec5f38b54bc3a (diff)
downloadslackbuilds-0655c91b45832dbb4bce53b1d524550fdd26db6e.tar.gz
academic/ghemical: Added to 13.0 repository
Diffstat (limited to 'academic/ghemical/doinst.sh')
-rw-r--r--academic/ghemical/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/academic/ghemical/doinst.sh b/academic/ghemical/doinst.sh
new file mode 100644
index 0000000000..9830478e8c
--- /dev/null
+++ b/academic/ghemical/doinst.sh
@@ -0,0 +1,14 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+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
+