Ticket #56139: pymol_shell.diff

File pymol_shell.diff, 768 bytes (added by jwhowarth, 7 years ago)

Fix pymol_shell.diff to properly set PYMOL_PATH=@@PYTHON_PKGDIR@@/pymol/pymol_path

  • 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/pymol_path
     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