Sfoglia il codice sorgente

Wrong assumption about always-update, fix that

Markus Hennecke 5 anni fa
parent
commit
8988ebb3e3
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      autoupdate.pl

+ 2 - 1
autoupdate.pl

@@ -351,7 +351,8 @@ sub read_update_package_list {
 			print STDERR 'Ignoring ' . $pkg . "\n";
 			next;
 		}
-		if ($_ =~ m/\#\s+always-update\s+->\s+0,/x && !$always_update) {
+		if ($_ =~ m/\#\s+always-update\s+->\s+[0-9],/x &&
+				!$always_update) {
 			print STDERR "Ignoring $pkg (always update)\n";
 			next;
 		}