source: gli/trunk/chkinst.bat@ 20961

Last change on this file since 20961 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
Line 
1::@echo off
2
3set CHECK=1
4
5:: Check that the Greenstone installation looks OK
6if "%GLILANG%" == "en" echo Checking GSDL: %1
7if "%GLILANG%" == "es" echo Revisando GSDL: %1
8if "%GLILANG%" == "fr" echo V‚rification de GSDL: %1
9if "%GLILANG%" == "ru" echo à®¢¥àª  GSDL: %1
10
11:: if either of the files exist, we know we can install greenstone
12if exist %1\gs3-setup.bat set CHECK=0
13if exist %1\setup.bat set CHECK=0
14
15if "%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 incomplŠte. Essayez
26 if "%GLILANG%" == "fr" echo de r‚installer Greenstone %2 et ex‚cutez 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.