Changeset 17784 for release-kits/shared


Ignore:
Timestamp:
2008-11-07T13:45:30+13:00 (15 years ago)
Author:
oranfry
Message:

made the uninstaller compatible with greenstone3

File:
1 edited

Legend:

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

    r17758 r17784  
    11if [ -f "setup.bash" ]; then
    22. ./setup.bash > /dev/null
     3SEARCH4J_EXECUTABLE=$GSDLHOME/bin/$GSDLOS/search4j
    34else
    4 . ./gs2build/setup.bash > /dev/null
     5SEARCH4J_EXECUTABLE=./bin/search4j
    56fi
    67
    7 $GSDLHOME/bin/$GSDLOS/search4j -p ./packages/jre -l ./uninst.jar
     8"$SEARCH4J_EXECUTABLE" -p ./packages/jre -l ./uninst.jar
    89
    910if [ -e "uninst.flag" ]; then
     
    1213    rmdir packages
    1314   
    14     rm -f bin/$GSDLOS/search4j
    15     rmdir bin/$GSDLOS
    16 
    17     rm -f bin/search4j
    18     rmdir bin
     15    rm -f bin
    1916       
    2017    rm uninst.jar
Note: See TracChangeset for help on using the changeset viewer.