Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 795cf36

Browse files
author
dirk
committed
Only install the necessary version of Strawberryperl.
1 parent 5cbe9cd commit 795cf36

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

AppVeyor/Install.cmd

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
cd ..
44
call CloneRepositories.cmd https://github.com/ImageMagick shallow
5+
56
if not exist "C:\Program Files (x86)\Inno Setup 5" choco install innosetup -y -version 5.5.2
6-
if exist "C:\Strawberry-x86" goto done
7-
choco install strawberryperl -y -x86 -version 5.20.1.1
8-
move C:\Strawberry C:\Strawberry-x86
9-
choco install strawberryperl -y -force -version 5.20.1.1
10-
move C:\Strawberry C:\Strawberry-x64
11-
:done
7+
8+
set OPTION=
9+
if "%1" == "x86" SET OPTION=-x86
10+
choco install strawberryperl -y %OPTION% -version 5.20.1.1

0 commit comments

Comments
 (0)