greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17794

Show
Ignore:
Timestamp:
2008-11-07 17:23:25 (2 months ago)
Author:
max
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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