summaryrefslogtreecommitdiff
path: root/bin/debian-codename-to-version.sh
Commit message (Collapse)AuthorAgeFilesLines
* update ubuntu-codename-to-version.sh and debian-codename-to-version.sh. Let ↵Mike Gabriel2017-06-231-2/+3
| | | | them know about Debian buster and Ubuntu artful.
* debian-codename-to-version.sh: Drop the 9999 package revision thing for ↵Mike Gabriel2016-07-071-25/+6
| | | | | | | | | | | | unstable. Debian testing and Debian unstable are mostly the next stable Debian release, currently Debian 9. So, Debian testing currently equals Debian stretch. And Debian unstable is basically the staging area for Debian testing, so it is a bit newer than Debian testing, e.g. 9.01 for the current release cycle of Debian.
* bin/{debian,ubuntu}-codename-to-version.sh: fix various shortcomings:Mihai Moldovan2016-07-041-3/+11
| | | | | | | | | | | - return can only be used in functions. Switch to "exit" instead. - typeset -l makes the content lowercase, not the variable "local" (that's implied by using typeset.) Hence, drop it where inappropriate. - typeset -l is only available in BASH 4 and higher. Use it conditionally only. - Use tr to convert strings to lowercase when using a BASH version lower than 4.
* bin/: new script debian-codename-to-version.sh to map Debian code names to ↵Mihai Moldovan2016-07-011-0/+82
numerical versions.