| 1 | #!/bin/sh |
| 2 | # |
| 3 | # PyMOL startup script |
| 4 | # |
| 5 | # ============================================================== |
| 6 | # Set PYMOL_PATH to point at the correct location on your system |
| 7 | # |
| 8 | PYMOL_PATH=@@PYTHON_PKGDIR@@/pymol |
| 9 | export PYMOL_PATH |
| 10 | # |
| 11 | # ============================================================== |
| 12 | # (no changes usually required below here) |
| 13 | # |
| 14 | # python modules |
| 15 | # |
| 16 | HasRadeon=($(system_profiler SPDisplaysDataType | grep Radeon )) |
| 17 | if [[ -z "$HasRadeon" ]];then |
| 18 | exec @@PYTHON_BINARY@@ @@PYTHON_PKGDIR@@/pymol/__init__.py -d "_ set stereo_double_pump_mono,quiet=1" "$@" |
| 19 | else |
| 20 | exec @@PYTHON_BINARY@@ @@PYTHON_PKGDIR@@/pymol/__init__.py -d "_ set stereo_double_pump_mono,quiet=1" "-M" "$@" |
| 21 | fi |