greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17784

Show
Ignore:
Timestamp:
2008-11-07 13:45:30 (2 months ago)
Author:
oranfry
Message:

made the uninstaller compatible with greenstone3

Files:

Legend:

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