Ensure git
is installed
This commit is contained in:
parent
b7ff8f8cac
commit
b45f27adf6
|
@ -45,6 +45,11 @@ $null = New-Module {
|
|||
|
||||
continue;
|
||||
}
|
||||
|
||||
if (-not (Test-Command "git")) {
|
||||
Install-ChocoPackage git;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (-not (Test-ChocoPackage "powershell-core")) {
|
||||
Invoke-Hook "Install-PowerShellCore" -Fallback {
|
||||
|
|
Loading…
Reference in a new issue