Browse Source

Wrong assumption about always-update, fix that

Markus Hennecke 5 years ago
parent
commit
8988ebb3e3
1 changed files with 2 additions and 1 deletions
  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;
 		}