summaryrefslogtreecommitdiff
path: root/graphics/luxrender/doinst.sh
diff options
context:
space:
mode:
authorGiorgio Peron <giorgio.peron@gmail.com>2013-12-07 20:33:04 +0100
committerErik Hanson <erik@slackbuilds.org>2013-12-14 10:52:35 -0600
commitff6708e3d0e2556c48951010f165698cfed0a271 (patch)
tree2e7cb853ec4f2eb5e5b7323c4c40ddc3286f5aef /graphics/luxrender/doinst.sh
parent67b019be042a94dfd071a90156c795e10b59be6b (diff)
downloadslackbuilds-ff6708e3d0e2556c48951010f165698cfed0a271.tar.gz
graphics/luxrender: Added (rendering engine).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics/luxrender/doinst.sh')
-rw-r--r--graphics/luxrender/doinst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/luxrender/doinst.sh b/graphics/luxrender/doinst.sh
new file mode 100644
index 0000000000..7f740b456f
--- /dev/null
+++ b/graphics/luxrender/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
+