Changeset 147
- Timestamp:
- 01/12/08 08:10:42 (1 year ago)
- Files:
-
- pytrainer/trunk/opensuse_mozpytrainer.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pytrainer/trunk/opensuse_mozpytrainer.sh
r139 r147 1 1 #/bin/sh 2 2 3 if test -d /usr/lib/xulrunner-1.8.1.4 3 if test -L /usr/lib/xulrunner-1.8.1 4 then 5 echo using the symlink to the current directory 6 LD_LIBRARY_PATH=/usr/lib/xulrunner-1.8.1 MOZILLA_FIVE_HOME=/usr/lib/firefox python pytrainer.py 7 elif test -d /usr/lib/xulrunner-1.8.1.4 4 8 then 5 9 LD_LIBRARY_PATH=/usr/lib/xulrunner-1.8.1.4 MOZILLA_FIVE_HOME=/usr/lib/firefox python pytrainer.py 6 10 7 elif test -d /usr/lib/xulrunner-1.8. 5-test11 elif test -d /usr/lib/xulrunner-1.8.10 8 12 then 9 #LD_LIBRARY_PATH=/usr/lib/xulrunner-1.8.5 10 echo 1.8.5 exists replace this test with other relevant test.... 13 LD_LIBRARY_PATH=/usr/lib/xulrunner-1.8.1.10 MOZILLA_FIVE_HOME=/usr/lib/firefox python pytrainer.py 11 14 else 12 echo neither directory exists, sorry! 15 echo neither directory exists. Try looking in /usr/lib for "xulrunner-something" and amend this script 16 echo to look for that directory too. 17 echo You are also encouraged to improve this script so it automatically detects the correct directory... 13 18 fi 14 19
