mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-29 06:51:10 -05:00
PkgInfo: add Debian codename bullseye, Ubuntu codename zesty
This commit is contained in:
parent
cefc7b7b12
commit
635dc2d03e
@ -111,10 +111,10 @@ def _getDistro(release):
|
|||||||
release = release.lower()
|
release = release.lower()
|
||||||
debian = ("oldoldstable", "oldstable", "wheezy", "stable",
|
debian = ("oldoldstable", "oldstable", "wheezy", "stable",
|
||||||
"jessie", "testing", "sid", "unstable", "stretch", "buster",
|
"jessie", "testing", "sid", "unstable", "stretch", "buster",
|
||||||
"experimental")
|
"experimental", "bullseye")
|
||||||
debian_archive = ("bo", "hamm", "slink", "potato", "woody", "sarge",
|
debian_archive = ("bo", "hamm", "slink", "potato", "woody", "sarge",
|
||||||
"etch", "lenny", "squeeze")
|
"etch", "lenny", "squeeze")
|
||||||
ubuntu = ("precise", "trusty", "wily", "xenial", "yakkety")
|
ubuntu = ("precise", "trusty", "wily", "xenial", "yakkety", "zesty")
|
||||||
if release.startswith(debian):
|
if release.startswith(debian):
|
||||||
return "debian"
|
return "debian"
|
||||||
elif release.startswith(ubuntu):
|
elif release.startswith(ubuntu):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user