mirror of
https://github.com/imapsync/imapsync.git
synced 2024-11-17 00:02:29 +01:00
36 lines
952 B
Batchfile
36 lines
952 B
Batchfile
|
|
REM $Id: install_modules.bat,v 1.7 2013/08/03 02:19:58 gilles Exp gilles $
|
|
|
|
@ECHO OFF
|
|
|
|
ECHO Installing Perl modules for imapsync
|
|
REM CD /D %~dp0
|
|
|
|
perl -v
|
|
IF ERRORLEVEL 1 ECHO Perl needed. Install Strawberry Perl. Get it at http://strawberryperl.com/ ^
|
|
&& EXIT /B
|
|
|
|
REM perl is there
|
|
|
|
FOR %%M in ( IO::Socket::INET IO::Socket::INET6 IO::Socket::IP ^
|
|
Net::SSLeay ^
|
|
Crypt::SSLeay Net::SSL IO::Socket::SSL ^
|
|
Digest::MD5 Digest::HMAC_MD5 ^
|
|
Term::ReadKey File::Spec ^
|
|
Time::HiRes ^
|
|
Data::Uniqid URI::Escape ^
|
|
Authen::NTLM ^
|
|
Time::Local ^
|
|
Mail::IMAPClient ^
|
|
Getopt::ArgvFile Module::ScanDeps ^
|
|
PAR::Packer ) DO ECHO Updating %%M ^
|
|
& perl -MCPAN -e "install %%M"
|
|
|
|
REM & perl -m%%M -e "" || perl -MCPAN -e "install %%M"
|
|
|
|
|
|
ECHO Perl modules for imapsync installed
|
|
REM PAUSE
|
|
|
|
|