Ticket #42860: pymol_shell.diff

File pymol_shell.diff, 757 bytes (added by mtiberti (Matteo Tiberti), 11 years ago)
  • new file setup/pymol_macports

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