From: Matt Birkholz Date: Thu, 25 Jan 2018 16:18:45 +0000 (-0700) Subject: devops/devops: Added Ubuntu 18.04. X-Git-Tag: mit-scheme-pucked-devops-0.5~10 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=5002e7a249391dda02554e4aff92499b42f8aa53;p=mit-scheme.git devops/devops: Added Ubuntu 18.04. --- diff --git a/src/devops/devops.scm b/src/devops/devops.scm index 41597cd3f..8d64b31f5 100644 --- a/src/devops/devops.scm +++ b/src/devops/devops.scm @@ -818,14 +818,16 @@ Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. (string-prefix? "Ubuntu " os)) (define (ubuntu-os-codename os) - (cond ((string=? "Ubuntu 17.10" os) "artful") + (cond ((string=? "Ubuntu 18.04" os) "bionic") + ((string=? "Ubuntu 17.10" os) "artful") ((string=? "Ubuntu 17.04" os) "zesty") ((string=? "Ubuntu 16.10" os) "yakkety") ((string=? "Ubuntu 16.04" os) "xenial") (else (error "Unexpected Ubuntu OS:" os)))) (define (ubuntu-os-version os) - (cond ((string=? "Ubuntu 17.10" os) "17.10") + (cond ((string=? "Ubuntu 18.04" os) "18.04") + ((string=? "Ubuntu 17.10" os) "17.10") ((string=? "Ubuntu 17.04" os) "17.04") ((string=? "Ubuntu 16.10" os) "16.10") ((string=? "Ubuntu 16.04" os) "16.04")