Changeset 17794 for release-kits/shared


Ignore:
Timestamp:
2008-11-07T17:23:25+13:00 (15 years ago)
Author:
max
Message:

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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.