Merge pull request #177 from yushijinhun/patch-1

apt-sync: add noble to @ubuntu-lts
This commit is contained in:
Shengqi Chen 2024-04-28 16:28:57 +08:00 committed by GitHub
commit ab495a3c8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ if USE_ADDR_FAMILY != '':
urllib3_cn.allowed_gai_family = lambda: socket.AF_INET if USE_ADDR_FAMILY == 'ipv4' else socket.AF_INET6 urllib3_cn.allowed_gai_family = lambda: socket.AF_INET if USE_ADDR_FAMILY == 'ipv4' else socket.AF_INET6
OS_TEMPLATE = { OS_TEMPLATE = {
'ubuntu-lts': ["focal", "jammy"], 'ubuntu-lts': ["focal", "jammy", "noble"],
'debian-current': ["buster", "bullseye", "bookworm"], 'debian-current': ["buster", "bullseye", "bookworm"],
'debian-latest2': ["bullseye", "bookworm"], 'debian-latest2': ["bullseye", "bookworm"],
'debian-latest': ["bookworm"], 'debian-latest': ["bookworm"],