source:
release-kits/shared/uninstaller/Uninstall.sh@
17758
Last change on this file since 17758 was 17758, checked in by , 15 years ago | |
---|---|
File size: 456 bytes |
Rev | Line | |
---|---|---|
[17730] | 1 | if [ -f "setup.bash" ]; then |
[17675] | 2 | . ./setup.bash > /dev/null |
[17730] | 3 | else |
4 | . ./gs2build/setup.bash > /dev/null | |
5 | fi | |
[17456] | 6 | |
[17730] | 7 | $GSDLHOME/bin/$GSDLOS/search4j -p ./packages/jre -l ./uninst.jar |
8 | ||
[17456] | 9 | if [ -e "uninst.flag" ]; then |
10 | ||
11 | rm -rf packages/jre | |
12 | rmdir packages | |
13 | ||
[17758] | 14 | rm -f bin/$GSDLOS/search4j |
15 | rmdir bin/$GSDLOS | |
16 | ||
[17730] | 17 | rm -f bin/search4j |
[17456] | 18 | rmdir bin |
19 | ||
20 | rm uninst.jar | |
21 | rm uninst.flag | |
22 | rm Uninstall.* | |
23 | ||
24 | CONTENTS=`ls` | |
[17730] | 25 | if [ -z "$CONTENTS" ]; then |
[17456] | 26 | GSDEL=`pwd` |
27 | cd .. | |
28 | rmdir $GSDEL | |
29 | fi | |
[17758] | 30 | fi |
Note:
See TracBrowser
for help on using the repository browser.