Commit aae043a6 authored by Francois Charette's avatar Francois Charette
Browse files

Avoid spurious upstream updates!

parent 0d34d6c2
......@@ -351,12 +351,13 @@ sub run_status {
foreach my $col (sort keys %updatedcol_pkgs) {
print LOG " - texlive-$col :\n";
print BOLD RED "texlive-$col :\n";
my $colver = $installedcol_versions{$col};
foreach my $pkg (sort @{$updatedcol_pkgs{$col}}) {
next if $locallyinstalledpkg_versions{$pkg};
my $newver = $tlpdb->package_revision($pkg);
if ( $installedpkg_versions{$pkg} ) {
my $oldver = $installedpkg_versions{$pkg} ;
if ($newver > $oldver) {
if ($newver > $oldver && $newver > $colver) {
print GREEN, "\t$pkg", RESET, " has been updated ($oldver => $newver)\n";
print LOG "\t$pkg has been updated ($oldver => $newver)\n";
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment