Ensure 7z
is installed for backups
This commit is contained in:
parent
c9722805de
commit
0c7f5eb6ca
|
@ -174,6 +174,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;
|
||||
|
|
Loading…
Reference in a new issue