This commit is contained in:
Nick Bebout 2013-07-05 17:26:28 -05:00
parent e7c65ee6de
commit 6ff9b67554
67 changed files with 747 additions and 354 deletions

View file

@ -1,30 +1,31 @@
REM $Id: install_modules.bat,v 1.2 2013/05/06 08:26:39 gilles Exp gilles $
REM hi
REM $Id: install_modules.bat,v 1.5 2013/07/03 12:00:23 gilles Exp gilles $
@ECHO OFF
ECHO Installing Perl modules for imapsync
CD C:\msys\1.0\home\Admin\imapsync
REM CD /D %~dp0
perl -mMail::IMAPClient -e ""
IF ERRORLEVEL 0 GOTO install_01
perl -MCPAN -e "install Mail::IMAPClient"
perl -v
IF ERRORLEVEL 1 ECHO Perl needed. Install Strawberry Perl. Get it at http://strawberryperl.com/ ^
&& EXIT /B
:install_01
REM perl is there
FOR %%M in ( Mail::IMAPClient ^
IO::Socket IO::Socket::SSL ^
FOR %%M in ( IO::Socket ^
Net::SSLeay IO::Socket::SSL ^
Digest::MD5 Digest::HMAC_MD5 ^
Term::ReadKey File::Spec ^
Time::HiRes ^
Data::Uniqid URI::Escape ^
Authen::NTLM ^
Time::Local ^
Mail::IMAPClient ^
PAR::Packer ) DO ECHO Testing %%M ^
& perl -m%%M -e "" || perl -MCPAN -e "install %%M"
ECHO Perl modules for imapsync installed
PAUSE
REM PAUSE