1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/W/install_module_one.bat
Nick Bebout 8d76e44c5e 1.836
2017-09-23 16:54:48 -05:00

29 lines
586 B
Batchfile

@REM $Id: install_module_one.bat,v 1.5 2017/07/08 00:11:49 gilles Exp gilles $
@ECHO OFF
SET SHELL=
SET
REM EXIT
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
PAUSE
EXIT
FOR %%M in (
IO::Socket::SSL Net::SSLeay PAR::Packer ^
) DO perl -m%%M -e "print qq{Updating %%M $%%M::VERSION \n}" ^
& cpanm --force %%M
REM IO::Socket::SSL Net::SSLeay PAR::Packer
@ECHO Perl modules for imapsync installed
PAUSE