summaryrefslogtreecommitdiff
path: root/misc/chemical-mime-data/doinst.sh
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2011-11-28 22:07:31 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-10 21:58:15 -0200
commite361dc4986bdbfeddcf63475d23b9825ea097062 (patch)
tree771655dcc440d8622b1002cde63ae4f82fb22bed /misc/chemical-mime-data/doinst.sh
parent7f4e464d16b79cbddde1d62fb888896f27d1dc33 (diff)
downloadslackbuilds-e361dc4986bdbfeddcf63475d23b9825ea097062.tar.gz
misc/chemical-mime-data: Added (various chemical MIME types)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'misc/chemical-mime-data/doinst.sh')
-rw-r--r--misc/chemical-mime-data/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/chemical-mime-data/doinst.sh b/misc/chemical-mime-data/doinst.sh
new file mode 100644
index 0000000000..ba65467f24
--- /dev/null
+++ b/misc/chemical-mime-data/doinst.sh
@@ -0,0 +1,9 @@
+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