Ensure 7z
is installed for backups
This commit is contained in:
parent
586a2e9588
commit
969057b1ca
|
@ -168,6 +168,12 @@ $null = New-Module {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (-not (Test-Command "7z")) {
|
||||||
|
Install-ChocoPackage 7zip.portable;
|
||||||
|
refreshenv;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (-not (Test-Command "yq")) {
|
if (-not (Test-Command "yq")) {
|
||||||
Install-ChocoPackage "yq";
|
Install-ChocoPackage "yq";
|
||||||
refreshenv;
|
refreshenv;
|
||||||
|
|
Loading…
Reference in a new issue