summaryrefslogtreecommitdiff
path: root/graphics/blender/blender-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/blender/blender-wrapper')
-rw-r--r--graphics/blender/blender-wrapper12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/blender/blender-wrapper b/graphics/blender/blender-wrapper
new file mode 100644
index 0000000000..e30ce6591c
--- /dev/null
+++ b/graphics/blender/blender-wrapper
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# Wrapper to start blender
+
+if [ ! -d $HOME/.blender ]; then
+ cp -a /usr/share/blender/dot-blender $HOME/.blender
+ sleep 1
+fi
+
+cd /opt/blender-_VERSION_
+/opt/blender-_VERSION_/blender
+