feat(debian): support Debian 11(bullseye) (#1298)

* feat(debian): support bullseye

* fix(debian): fix test case
This commit is contained in:
MaineK00n
2021-09-08 10:47:34 +09:00
committed by GitHub
parent 3e67f04fe4
commit 9ed5f2cac5
4 changed files with 18 additions and 1 deletions

View File

@@ -110,6 +110,7 @@ func GetEOL(family, release string) (eol EOL, found bool) {
"8": {Ended: true},
"9": {StandardSupportUntil: time.Date(2022, 6, 30, 23, 59, 59, 0, time.UTC)},
"10": {StandardSupportUntil: time.Date(2024, 6, 30, 23, 59, 59, 0, time.UTC)},
"11": {StandardSupportUntil: time.Date(2026, 6, 30, 23, 59, 59, 0, time.UTC)},
}[major(release)]
case constant.Raspbian:
// Not found