Ensure git is installed

This commit is contained in:
Manuel Thalmann 2024-08-08 05:14:31 +02:00
parent 3256aee9fb
commit 0dcbf245f8

View file

@ -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 {