root/release-kits/shared/uninstaller/Uninstall.sh @ 17758

Revision 17758, 456 bytes (checked in by oranfry, 11 years ago)

ensure search4j gets deleted

Line 
1if [ -f "setup.bash" ]; then
2. ./setup.bash > /dev/null
3else
4. ./gs2build/setup.bash > /dev/null
5fi
6
7$GSDLHOME/bin/$GSDLOS/search4j -p ./packages/jre -l ./uninst.jar
8
9if [ -e "uninst.flag" ]; then
10
11    rm -rf packages/jre
12    rmdir packages
13   
14    rm -f bin/$GSDLOS/search4j
15    rmdir bin/$GSDLOS
16
17    rm -f bin/search4j
18    rmdir bin
19       
20    rm uninst.jar
21    rm uninst.flag
22    rm Uninstall.*
23   
24    CONTENTS=`ls`
25    if [ -z "$CONTENTS" ]; then
26        GSDEL=`pwd`
27        cd ..
28        rmdir $GSDEL
29    fi
30fi
Note: See TracBrowser for help on using the browser.