-install -vm 644 "$SPELL_DIRECTORY/blender48x48.png" \
- "$INSTALL_ROOT/usr/share/pixmaps" &&
+# stop this script if the local blender path is a symlink
+if [ -L \${HOME}/.blender ]; then
+ echo "Detected a symbolic link for \${HOME}/.blender"
+ echo "Sorry, to avoid dangerous situations, the Blender binary can"
+ echo "not be started until you have removed the symbolic link:"
+ echo " # rm -i \${HOME}/.blender"
+ exit 1
+fi
-# set Python version to the installed version, not hardcoded one
-sed -i "s:2.5:$(installed_version python | cut -d . -f
1,2):;s:-Wdeclaration-after-statement::" \
- "$SOURCE_DIRECTORY/config/linux2-config.py" &&
+#patch < $SCRIPT_DIRECTORY/blender-2.60a-linux-3.patch