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:
parent
eeddae981c
commit
b31c7493a3
@ -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. ";
|
||||
|
Loading…
Reference in New Issue
Block a user