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
// TODO That should probably be stored in the database or in a file
var UbuntuReleasesMapping = map[string]string{
"precise": "12.04",
"quantal": "12.10",
"raring": "13.04",
"trusty": "14.04",
"utopic": "14.10",
"vivid": "15.04",
"wily": "15.10",
"precise": "12.04",
"quantal": "12.10",
"raring": "13.04",
"trusty": "14.04",
"utopic": "14.10",
"vivid": "15.04",
"vivid/ubuntu-core": "15.04-core",
"wily": "15.10",
}

View File

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