diff --git a/scripts/prt-auf b/scripts/prt-auf index f79b3e8..ae56bc6 100755 --- a/scripts/prt-auf +++ b/scripts/prt-auf @@ -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. ";