]> git.proxmox.com Git - dab.git/commitdiff
debian: future proof mirror selection for trixie and forky
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Oct 2022 11:38:55 +0000 (13:38 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 21 Oct 2022 11:39:20 +0000 (13:39 +0200)
we should get something better to check though, maybe just systemd
support - we got until 2027 to figure that out though.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
DAB.pm

diff --git a/DAB.pm b/DAB.pm
index 9e4a2bd5657dc1f2bc7f1a0c9776ba857f5ea1d7..2b84c89b4161fd77dfb00083c9aad9621d874bcf 100644 (file)
--- a/DAB.pm
+++ b/DAB.pm
@@ -566,7 +566,7 @@ sub new {
                    'http://ftp.debian.org/debian SUITE main contrib',
                    'http://security.debian.org SUITE/updates main contrib',
                );
-           } elsif ($suite eq 'bullseye' || $suite eq 'bookworm') {
+           } elsif ($suite =~ /^(?:bullseye|bookworm|trixie|forky)$/) {
                push @{$config->{source}}, (
                    "http://deb.debian.org/debian SUITE main contrib",
                    "http://deb.debian.org/debian SUITE-updates main contrib",