prt-auf: new test in up_inst() to make use of existing packages that were not pkgadded at the time they were built.

This commit is contained in:
John McQuah 2022-06-16 16:24:08 -04:00
parent eeddae981c
commit b31c7493a3
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@ sub up_inst { # returns scalar references to five arrays
($opkg{test} eq "no") ? system("$mkcmd{$t}") : print "$mkcmd{$t}\n";
$status{$t} .= ( $?>>8 == 0 ) ? "build ok. " : "build failed. ";
$status{$t} = ( $mkcmd{$t} =~ /skipped/ ) ? "build skipped. " : $status{$t};
if ($status{$t} =~ /build ok/) {
if (($status{$t} =~ /build ok/) or ($mkcmd{$t} =~ /up to date/)) {
$addcmd{$t} =~ s/ -u / / if (port_diff("utd",$t)<0);
($opkg{test} eq "no") ? system("$addcmd{$t}") : print "$addcmd{$t}\n";
$status{$t} .= ( $?>>8 == 0 ) ? "pkgadd ok. " : "pkgadd failed. ";