Changeset 17794

Show
Ignore:
Timestamp:
07.11.2008 17:23:25 (11 years ago)
Author:
max
Message:

Fixed some bugs for the Uninstaller on the darwin platform and with Greenstone3.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/uninstaller/Uninstall.sh

    r17792 r17794  
    11if [ -f "setup.bash" ]; then 
    2 . ./setup.bash > /dev/null 
    3 SEARCH4J_EXECUTABLE=$GSDLHOME/bin/$GSDLOS/search4j 
     2#This is Greenstone 2 
     3    . ./setup.bash > /dev/null 
     4    SEARCH4J_EXECUTABLE=$GSDLHOME/bin/$GSDLOS/search4j 
    45else 
    5 SEARCH4J_EXECUTABLE=./bin/search4j 
     6#This is Greenstone 3 
     7    . ./gs2build/setup.bash > /dev/null 
     8    SEARCH4J_EXECUTABLE=./bin/search4j 
    69fi 
    710 
    8 "$SEARCH4J_EXECUTABLE" -p ./packages/jre -l ./uninst.jar 
     11if [ $GSDLOS = linux ]; then 
     12    "$SEARCH4J_EXECUTABLE" -p ./packages/jre -l ./uninst.jar 
     13elif [ $GSDLOS = darwin ]; then 
     14    "$SEARCH4J_EXECUTABLE" -p /System/Library/Frameworks/JavaVM.framework/Home -l ./uninst.jar 
     15fi 
    916 
    1017if [ -e "uninst.flag" ]; then