Changeset 23256
- Timestamp:
- 2010-11-01T10:46:00+13:00 (12 years ago)
- Location:
- main/trunk/release-kits/shared
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/release-kits/shared/core/uninstaller/Uninstall.bat
r23243 r23256 30 30 if "%1" == "Elevated" shift 31 31 32 if exist ..\bin\windows\search4j.exe ..\bin\windows\search4j.exe -p ..\packages\jre -l .\uninst.jar 32 cd .. 33 if exist .\bin\windows\search4j.exe .\bin\windows\search4j.exe -p .\packages\jre -l .\uninstall\uninst.jar 33 34 34 if exist ..\gs2build\bin\windows\search4j.exe ..\gs2build\bin\windows\search4j.exe -p ..\packages\jre -l .\uninst.jar 35 35 if exist .\gs2build\bin\windows\search4j.exe .\gs2build\bin\windows\search4j.exe -p .\packages\jre -l .\uninstall\uninst.jar 36 36 37 37 if exist uninst.flag ( 38 38 39 rd /s /q ..\packages\jre40 rmdir ..\packages39 rd /s /q packages\jre 40 rmdir packages 41 41 42 if exist ..\bin\windows\search4j.exe (43 del ..\bin\windows\search4j.exe44 rmdir ..\bin\windows42 if exist bin\windows\search4j.exe ( 43 del bin\windows\search4j.exe 44 rmdir bin\windows 45 45 ) 46 if exist ..\gs2build\bin\windows\search4j.exe (47 del ..\gs2build\bin\windows\search4j.exe48 rd /s /q ..\gs2build46 if exist gs2build\bin\windows\search4j.exe ( 47 del gs2build\bin\windows\search4j.exe 48 rd /s /q gs2build 49 49 ) 50 50 51 del uninst .jar52 del uninst .flag53 del Uninstall.*54 del *.uninstall55 rmdir /S /Q ..\bin56 rmdir /S /Q ..\tmp57 rmdir /S /Q ..\ext51 del uninstall\uninst.jar 52 del uninstall\uninst.flag 53 del uninstall\Uninstall.* 54 del uninstall\*.uninstall 55 rmdir /S /Q bin 56 rmdir /S /Q tmp 57 rmdir /S /Q ext 58 58 59 cd ..60 59 set GSDEL=!CD! 61 cd ..62 60 63 61 echo @echo off > %TEMP%\gsuninstall.bat -
main/trunk/release-kits/shared/linux/wrapper.cpp
r22335 r23256 19 19 << "Usage: " << progname << " [OPTIONS]" << endl 20 20 << "OPTIONS: " << endl 21 << " -h, -help Display this usage message" << endl 22 << " -text (Depricated) Do a non-graphical command line installation" << endl; 21 << " -h, -help Display this usage message" << endl 22 << " -textonly Do a non-graphical command line installation" << endl; 23 << " -extract Extract the jar file, this can " << endl; 23 24 #ifdef CDROM 24 25 cerr << " -wd PATH Look for the CD-ROM at PATH" << endl; … … 49 50 } else if ( a.compare("-h") == 0 || a.compare("-help") == 0 || a.compare("--help") == 0) { 50 51 usage( argv[0], 0 ); 51 } else if ( a.compare("-text ") == 0 || a.compare("text") == 0 ) {52 cerr << "-text is depricated, please use -extract and then run \"java -jar greenstone.jar text\"" << endl;52 } else if ( a.compare("-textonly") == 0 || a.compare("-text") == 0 || a.compare("text") == 0 ) { 53 //cerr << "-text is deprecated, please use -extract and then run \"java -jar greenstone.jar text\"" << endl; 53 54 text_mode = true; 54 55 #ifndef CDROM
Note:
See TracChangeset
for help on using the changeset viewer.