summaryrefslogtreecommitdiff
path: root/academic/gelemental/doinst.sh
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2011-08-17 08:36:52 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-17 08:36:52 -0300
commit3ab698d96117abb66530613ac2ed94c7410ce68d (patch)
tree8388f26b463e04806911fe88bb01299581711ef1 /academic/gelemental/doinst.sh
parent2eb1edfb4000dd49b3bfab090756b73073ff49ea (diff)
downloadslackbuilds-3ab698d96117abb66530613ac2ed94c7410ce68d.tar.gz
academic/gelemental: Added (A periodic table viewer)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/gelemental/doinst.sh')
-rw-r--r--academic/gelemental/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/gelemental/doinst.sh b/academic/gelemental/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/academic/gelemental/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