updater: ignore "ubuntu-core" in the Ubuntu fetcher

This commit is contained in:
Quentin Machu 2016-01-25 15:19:51 -05:00 committed by Jimmy Zelinskie
parent 4bdbd5e6db
commit 3ecb8b69cb
2 changed files with 9 additions and 8 deletions

View File

@ -32,12 +32,12 @@ var DebianReleasesMapping = map[string]string{
// UbuntuReleasesMapping translates Ubuntu code names to version numbers // UbuntuReleasesMapping translates Ubuntu code names to version numbers
var UbuntuReleasesMapping = map[string]string{ var UbuntuReleasesMapping = map[string]string{
"precise": "12.04", "precise": "12.04",
"quantal": "12.10", "quantal": "12.10",
"raring": "13.04", "raring": "13.04",
"trusty": "14.04", "trusty": "14.04",
"utopic": "14.10", "utopic": "14.10",
"vivid": "15.04", "vivid": "15.04",
"vivid/ubuntu-core": "15.04-core", "wily": "15.10",
"wily": "15.10", "xenial": "16.04",
} }

View File

@ -61,6 +61,7 @@ var (
"oneiric": struct{}{}, "oneiric": struct{}{},
"saucy": struct{}{}, "saucy": struct{}{},
"vivid/ubuntu-core": struct{}{},
"vivid/stable-phone-overlay": struct{}{}, "vivid/stable-phone-overlay": struct{}{},
// Syntax error // Syntax error