Skip to content
Snippets Groups Projects
Commit 4e25addd authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

project: remove msys64 package from choco package list if choco installation path exists

Change-Id: I4aa3c120b3c2f4d6890555cee482963fa90753c4
parent a27b6c1b
No related branches found
No related tags found
No related merge requests found
......@@ -46,9 +46,11 @@ if(Test-Path -Path "C:\Strawberry"){
}
if(!(Test-Path -Path "C:\msys64")){
if(!(Test-Path -Path "C:\tools\msys64")){
$Env:Path += ";C:\tools\msys64\usr\bin"
$msys2_path = "C:\tools\msys64\usr\bin"
$Env:Path += ";C:\tools\msys64\usr\bin"
$msys2_path = "C:\tools\msys64\usr\bin"
if((Test-Path -Path "C:\tools\msys64")){
$null = $packages.Remove('msys2')
write-host "MSYS2 64 installed" -ForegroundColor Green
}
} else {
$null = $packages.Remove('msys2')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment