]> git.proxmox.com Git - pmg-api.git/commitdiff
pmg7to8: also ignore proposed-updates to ignored suite suffixes
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 26 Jun 2023 17:02:37 +0000 (19:02 +0200)
committerStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 26 Jun 2023 17:02:37 +0000 (19:02 +0200)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/CLI/pmg7to8.pm

index 822818356cade181355874abac4fd380a0db4f79..a4e45253f2460250802d563a770270493e1d7a50 100644 (file)
@@ -380,7 +380,7 @@ sub check_apt_repos {
            }
            my $where = "in ${file}:${number}";
 
-           $suite =~ s/-(?:updates|backports|security)$//;
+           $suite =~ s/-(?:(?:proposed-)?updates|backports|security)$//;
            if ($suite ne $old_suite && $suite ne $new_suite) {
                log_notice(
                    "found unusual suite '$suite', neither old '$old_suite' nor new '$new_suite'.."