Changeset 147

Show
Ignore:
Timestamp:
01/12/08 08:10:42 (1 year ago)
Author:
vud1
Message:

Updated the shell script for starting pytrainer with GOOGLE MAPS support
on a suse system. After a recent update of opensuse 10.3, there is a
symlink to the newest version of the mozilla directory.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pytrainer/trunk/opensuse_mozpytrainer.sh

    r139 r147  
    11#/bin/sh 
    22 
    3 if test -d /usr/lib/xulrunner-1.8.1.4 
     3if test -L /usr/lib/xulrunner-1.8.1 
     4then 
     5echo using the symlink to the current directory 
     6LD_LIBRARY_PATH=/usr/lib/xulrunner-1.8.1 MOZILLA_FIVE_HOME=/usr/lib/firefox python pytrainer.py 
     7elif test -d /usr/lib/xulrunner-1.8.1.4 
    48then 
    59LD_LIBRARY_PATH=/usr/lib/xulrunner-1.8.1.4 MOZILLA_FIVE_HOME=/usr/lib/firefox python pytrainer.py 
    610 
    7 elif test -d /usr/lib/xulrunner-1.8.5-test 
     11elif test -d /usr/lib/xulrunner-1.8.10 
    812then 
    9 #LD_LIBRARY_PATH=/usr/lib/xulrunner-1.8.5 
    10 echo 1.8.5 exists replace this test with other relevant test.... 
     13LD_LIBRARY_PATH=/usr/lib/xulrunner-1.8.1.10 MOZILLA_FIVE_HOME=/usr/lib/firefox python pytrainer.py 
    1114else 
    12 echo neither directory exists, sorry! 
     15echo neither directory exists. Try looking in /usr/lib for "xulrunner-something" and amend this script 
     16echo to look for that directory too. 
     17echo You are also encouraged to improve this script so it automatically detects the correct directory... 
    1318fi 
    1419