source: release-kits/shared/uninstaller/Uninstall.sh@ 17730

Last change on this file since 17730 was 17730, checked in by max, 15 years ago

Fixed some bugs for the Uninstaller on all platforms.

File size: 407 bytes
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/search4j
15 rmdir bin
16
17 rm uninst.jar
18 rm uninst.flag
19 rm Uninstall.*
20
21 CONTENTS=`ls`
22 if [ -z "$CONTENTS" ]; then
23 GSDEL=`pwd`
24 cd ..
25 rmdir $GSDEL
26 fi
27fi
Note: See TracBrowser for help on using the repository browser.