Merge pull request #67 from Quentin-M/master

updater: Add support for Ubuntu Vivid Core and ignore Vivid PhoneOverlay
This commit is contained in:
Quentin Machu 2016-01-25 14:24:43 -05:00
commit 6aa501f18e
2 changed files with 10 additions and 7 deletions

View File

@ -34,11 +34,12 @@ var DebianReleasesMapping = map[string]string{
// UbuntuReleasesMapping translates Ubuntu code names to version numbers // UbuntuReleasesMapping translates Ubuntu code names to version numbers
// TODO That should probably be stored in the database or in a file // TODO That should probably be stored in the database or in a file
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",
"wily": "15.10", "vivid/ubuntu-core": "15.04-core",
"wily": "15.10",
} }

View File

@ -59,6 +59,8 @@ var (
"oneiric": struct{}{}, "oneiric": struct{}{},
"saucy": struct{}{}, "saucy": struct{}{},
"vivid/stable-phone-overlay": struct{}{},
// Syntax error // Syntax error
"Patches": struct{}{}, "Patches": struct{}{},
// Product // Product