pkg-get.pl: suppress false warnings

(dependencies might be satisfied using tools other than pkg-get)
This commit is contained in:
John McQuah 2023-08-07 08:40:08 -04:00
parent 5d700a78e9
commit 47ca04508a
1 changed files with 3 additions and 0 deletions

View File

@ -384,6 +384,9 @@ sub getdependencies {
$depstring .= $pkgname;
$deps{$pkgname} = $depstring;
push(@dependencies, $depstring);
} elsif ($installed{$pkgname}) {
$depstring = ($checkver) ? "[i] $pkgname" : $pkgname;
push(@dependencies, $depstring);
} else {
return 0 if ($pkgparent eq "");
$missingdeps{$pkgname} = $pkgparent;