From a80da3764d757fa95873c8300561dab2752ca154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Sat, 13 Sep 2008 14:45:41 +0000 Subject: [PATCH] Win32: Always try to install Date-Manip and as fallback DateManip. It seems that the PPM repositories for ActivePerl v5.6 and v5.8 have been changed so that DateManip cannot be found anymore. Keep it for second try nonetheless. BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17504 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/install-fq-mods.bat | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packaging/win32/install-fq-mods.bat b/packaging/win32/install-fq-mods.bat index d245d14d8a..cbd76c6a25 100644 --- a/packaging/win32/install-fq-mods.bat +++ b/packaging/win32/install-fq-mods.bat @@ -38,12 +38,11 @@ goto error echo * Install DateManip echo. -if %_perlversion% == 5.10 ( - perl -x -S ppm install Date-Manip -) else ( +perl -x -S ppm install Date-Manip +if %errorlevel% neq 0 ( perl -x -S ppm install DateManip + if %errorlevel% neq 0 goto error ) -if %errorlevel% neq 0 goto error echo. echo * Install Crypt-SSLeay