Fix incorrect installation filter
This commit is contained in:
parent
ec5ccfba2d
commit
7fed854044
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ $null = New-Module {
|
||||||
)
|
)
|
||||||
|
|
||||||
foreach ($name in $Names) {
|
foreach ($name in $Names) {
|
||||||
if ($Force.IsPresent -and -not (Test-WingetPackage $name)) {
|
if ($Force.IsPresent -or -not (Test-WingetPackage $name)) {
|
||||||
winget install `
|
winget install `
|
||||||
--accept-source-agreements --accept-package-agreements `
|
--accept-source-agreements --accept-package-agreements `
|
||||||
--source winget `
|
--source winget `
|
||||||
|
|
Loading…
Reference in a new issue