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