mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
9 lines
263 B
Bash
9 lines
263 B
Bash
#!/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
|
|
PYTHONHOME="$(python -c "import sys; print ':'.join(sys.path[1:])")" \
|
|
/opt/blender/blender-softwaregl "$@"
|