Ensure 7z is installed for backups

This commit is contained in:
Manuel Thalmann 2024-08-28 04:38:56 +02:00
parent c31e21b215
commit 7708521a6e

View file

@ -168,6 +168,12 @@ $null = New-Module {
continue;
}
if (-not (Test-Command "7z")) {
Install-ChocoPackage 7zip.portable;
refreshenv;
continue;
}
if (-not (Test-Command "yq")) {
Install-ChocoPackage "yq";
refreshenv;