Fix mxe apt repo selection.

Default to latest, which is bionic, for earlier repositories, match all
intermediate release code names.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Rafael Kitover 2020-09-29 21:49:11 +00:00
parent 13854135a9
commit 0ddd50273c
No known key found for this signature in database
GPG Key ID: 08AB596679D86240
1 changed files with 4 additions and 4 deletions

View File

@ -360,15 +360,15 @@ debian_installdeps() {
case "$debian_rel" in case "$debian_rel" in
bionic|stretch|trusty|xenial) bionic|stretch|trusty|xenial)
;; ;;
buster|cosmic|disco)
debian_rel=bionic
;;
yakkety|zesty|artful) yakkety|zesty|artful)
debian_rel=xenial debian_rel=xenial
;; ;;
*) utopic|vivid|wily)
debian_rel=trusty debian_rel=trusty
;; ;;
*)
debian_rel=bionic
;;
esac esac
mxe_apt_sources=/etc/apt/sources.list.d/mxeapt.list mxe_apt_sources=/etc/apt/sources.list.d/mxeapt.list