imapsync/W/install_module_ssl.bat
Nick Bebout 9a927be251 1.882
2018-05-07 09:04:23 -05:00

30 lines
647 B
Batchfile

@REM $Id: install_module_ssl.bat,v 1.4 2018/05/06 15:09:42 gilles Exp gilles $
@ECHO OFF
SET SHELL=
SET
REM EXIT
ECHO Installing Perl module IO::Socket::SSL 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
@ECHO perl is here
FOR %%M in (
IO::Socket::SSL ^
Crypt::OpenSSL::RSA ^
File::Copy::Recursive ^
) DO perl -m%%M -e "print qq{Updating %%M $%%M::VERSION \n}" ^
& cpanm --force %%M
REM IO::Socket::SSL
@ECHO Perl modules for imapsync installed
PAUSE