Changeset 17808
- Timestamp:
- 2008-11-11T14:43:14+13:00 (15 years ago)
- Location:
- release-kits/shared/uninstaller
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
release-kits/shared/uninstaller/Uninstall.sh
r17794 r17808 1 1 if [ -f "setup.bash" ]; then 2 #This is Greenstone 22 #This is Greenstone 2 3 3 . ./setup.bash > /dev/null 4 4 SEARCH4J_EXECUTABLE=$GSDLHOME/bin/$GSDLOS/search4j 5 else 6 #This is Greenstone 3 5 6 elif [ -f "gs2build/setup.bash" ]; then 7 #This is Greenstone 3 7 8 . ./gs2build/setup.bash > /dev/null 8 9 SEARCH4J_EXECUTABLE=./bin/search4j 10 11 else 12 echo "Couldn't find setup.bash. This copy of Greenstone appears to be corrupt." 13 echo "To manually uninstall, please delete the entire Greenstone home folder." 14 exit 9 15 fi 10 16 … … 17 23 if [ -e "uninst.flag" ]; then 18 24 19 rm -rf packages/jre 20 rmdir packages 25 rm -rf packages/jre &> /dev/null 26 rmdir packages &> /dev/null 21 27 22 rm -rf bin 28 rm -rf bin &> /dev/null 23 29 24 rm uninst.jar 25 rm uninst.flag 26 rm Uninstall.* 30 rm uninst.jar &> /dev/null 31 rm uninst.flag &> /dev/null 32 rm Uninstall.* &> /dev/null 27 33 28 34 CONTENTS=`ls` … … 30 36 GSDEL=`pwd` 31 37 cd .. 32 rmdir $GSDEL 38 rmdir $GSDEL &> /dev/null 33 39 fi 34 40 fi
Note:
See TracChangeset
for help on using the changeset viewer.