From e7b8de5723cece271715d3ccfb883e38bd73948e Mon Sep 17 00:00:00 2001 From: z4yx Date: Mon, 20 Apr 2020 10:26:59 +0800 Subject: [PATCH] [ubuntu apt] add focal, remove trusty --- apt-sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apt-sync.py b/apt-sync.py index 70b70a9..10d3dfe 100755 --- a/apt-sync.py +++ b/apt-sync.py @@ -19,8 +19,8 @@ from typing import List, Set, Tuple, IO import requests OS_TEMPLATE = { - 'ubuntu-current': ["trusty", "xenial", "bionic", "eoan"], - 'ubuntu-lts': ["trusty", "xenial", "bionic"], + 'ubuntu-current': ["xenial", "bionic", "eoan", "focal"], + 'ubuntu-lts': ["xenial", "bionic", "focal"], 'debian-current': ["jessie", "stretch", "buster"], } MAX_RETRY=int(os.getenv('MAX_RETRY', '3'))