Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37534455
en ru br
ALT Linux repos
S:2.7.5.2-alt7
5.0: 2.7.3.1-alt5
4.1: 2.7.3.1-alt2
4.0: 2.7.3.1-alt1
3.0: 2.7.3-alt1

Group :: Sciences/Chemistry
RPM: RasMol

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#!/bin/sh
# rasmol.sh
# RasMol Molecular Graphics
# Version 2.7.1.1

# modified by Michael Shigorin <mike@altlinux.org>, 2003
# to auto-choose binary for given screen depth

RASMOLPATH=/usr/share/RasMol
export RASMOLPATH

#RASMOLPDBPATH=/databases/pdb
#export RASMOLPDBPATH

bpp=`xdpyinfo | awk '/depth of root window:/ { print $5; }'`
case $bpp in
8) rasmol-8bpp $@;;
15|16) rasmol-16bpp $@;;
24|32) rasmol-32bpp $@;;
*) echo "** '$bpp': unrecognized screen depth, exiting";
exit 1;;
esac
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin