summaryrefslogtreecommitdiff
path: root/graphics/luxrender/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/luxrender/doinst.sh')
-rw-r--r--graphics/luxrender/doinst.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/luxrender/doinst.sh b/graphics/luxrender/doinst.sh
index 7f740b456f..de6fed18f6 100644
--- a/graphics/luxrender/doinst.sh
+++ b/graphics/luxrender/doinst.sh
@@ -1,3 +1,7 @@
+if [ -x /usr/bin/xdg-mime ]; then
+ /usr/bin/xdg-mime install /usr/doc/luxrender-1.4/mime-lux.xml
+fi
+
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi