Changeset 17784 for release-kits

Show
Ignore:
Timestamp:
07.11.2008 13:45:30 (11 years ago)
Author:
oranfry
Message:

made the uninstaller compatible with greenstone3

Files:
1 modified

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