Last change
on this file since 16879 was 15609, checked in by ak19, 16 years ago |
Helper batch files that act as subroutines for the modified gli.bat (as gli.bat now works for both GS2 and GS3)
|
File size:
1.3 KB
|
Rev | Line | |
---|
[15609] | 1 | ::@echo off
|
---|
| 2 |
|
---|
| 3 | set CHECK=1
|
---|
| 4 |
|
---|
| 5 | :: Check that the Greenstone installation looks OK
|
---|
| 6 | if "%GLILANG%" == "en" echo Checking GSDL: %1
|
---|
| 7 | if "%GLILANG%" == "es" echo Revisando GSDL: %1
|
---|
| 8 | if "%GLILANG%" == "fr" echo Vrification de GSDL: %1
|
---|
| 9 | if "%GLILANG%" == "ru" echo ஢¥àª GSDL: %1
|
---|
| 10 |
|
---|
| 11 | :: if either of the files exist, we know we can install greenstone
|
---|
| 12 | if exist %1\gs3-setup.bat set CHECK=0
|
---|
| 13 | if exist %1\setup.bat set CHECK=0
|
---|
| 14 |
|
---|
| 15 | if "%CHECK%" == "0" goto endchk
|
---|
| 16 |
|
---|
| 17 | :: Otherwise, if there was no setup file, then installation fails
|
---|
| 18 | echo.
|
---|
| 19 | if "%GLILANG%" == "en" echo The Greenstone %2 installation could not be found, or is incomplete.
|
---|
| 20 | if "%GLILANG%" == "en" echo Try reinstalling Greenstone %2 then running this script again.
|
---|
| 21 |
|
---|
| 22 | if "%GLILANG%" == "es" echo No se pudo encontrar la instalaci¢n de Greenstone %2 o est incompleta.
|
---|
| 23 | if "%GLILANG%" == "es" echo Trate de reinstalar Greenstone %2 y a continuaci¢n ejecute nuevamente este gui¢n.
|
---|
| 24 |
|
---|
| 25 | if "%GLILANG%" == "fr" echo L'installation de Greenstone %2 est introuvable ou incomplte. Essayez
|
---|
| 26 | if "%GLILANG%" == "fr" echo de rinstaller Greenstone %2 et excutez ce script
|
---|
| 27 | nouveau.
|
---|
| 28 |
|
---|
| 29 | if "%GLILANG%" == "ru" echo áâ ««ïæšï Greenstone %2 ¥ ¡ë« ©€¥ š«š ® ¥¯®« . ®¯à®¡ã©â¥ ¯®¢â®à®
|
---|
| 30 | if "%GLILANG%" == "ru" echo ãáâ ®¢šâì Greenstone %2, § ⥬ ¢¢¥áâš íâ®â áªàš¯â ᮢ .
|
---|
| 31 |
|
---|
| 32 | :endchk |
---|
Note:
See
TracBrowser
for help on using the repository browser.