[pmg-devel] [PATCH pmg-api] pmg7to8: have repository check handle -debug suites gracefully

Fiona Ebner f.ebner at proxmox.com
Thu Jun 29 10:11:06 CEST 2023


instead of marking them as unusual suites.

Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
 src/PMG/CLI/pmg7to8.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PMG/CLI/pmg7to8.pm b/src/PMG/CLI/pmg7to8.pm
index ea29056..18841c6 100644
--- a/src/PMG/CLI/pmg7to8.pm
+++ b/src/PMG/CLI/pmg7to8.pm
@@ -385,7 +385,7 @@ sub check_apt_repos {
 	    }
 	    my $where = "in ${file}:${number}";
 
-	    $suite =~ s/-(?:(?:proposed-)?updates|backports|security)$//;
+	    $suite =~ s/-(?:(?:proposed-)?updates|backports|security|debug)(?:-debug)?$//;
 	    if ($suite ne $old_suite && $suite ne $new_suite) {
 		log_notice(
 		    "found unusual suite '$suite', neither old '$old_suite' nor new '$new_suite'.."
-- 
2.30.2





More information about the pmg-devel mailing list