Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
jmol
datadir.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File datadir.diff of Package jmol
--- jmol.sh | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) Index: jmol-14.0.13/jmol.sh =================================================================== --- jmol-14.0.13.orig/jmol.sh +++ jmol-14.0.13/jmol.sh @@ -9,28 +9,8 @@ done # Determine installation location if [ "$JMOL_HOME" = "" ]; then - binDir=${0%/*} - if [ "$binDir" = "$0" ]; then - # Ran from local directory - binDir=$PWD - fi - # Resolve symlinks. - program="$0" - while [ -L "$program" ]; do - ls=`/bin/ls -ld "$program"` - link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` - if /usr/bin/expr "$link" : '.*/.*' > /dev/null; then - program="$link" - else - program="`/usr/bin/dirname $program`/$link" - fi - done - binDir=`dirname $program` + JMOL_HOME="@pkgdatadir@" fi - -JMOL_HOME=${JMOL_HOME:-$binDir} -libDir=${JMOL_HOME}/jars - if [ ! -e ${JMOL_HOME}/Jmol.jar ]; then echo "Jmol could not find its installed files." exit
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor