diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-26 12:56:54 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-26 20:05:49 +0200 |
| commit | 0ede9dccbebd6a95b18cb747d73c1dcefd859373 (patch) | |
| tree | de3fbb295e65e15811bdbc8692599f60c3d46436 | |
| parent | 5919403f312ecd14b6d5d92c07c4cd8d3772c14a (diff) | |
Tidy can_build_disk checks to be more robust.
| -rw-r--r-- | cscript | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -208,15 +208,15 @@ def can_build_disk(target): if target.platform == 'osx': return True if target.platform == 'linux': - if target.distro == 'ubuntu' and target.version in ['18.04', '20.04', '20.10', '21.04']: + if target.distro == 'ubuntu' and target.version != '16.04': return True - if target.distro == 'debian' and target.version == '10': + if target.distro == 'debian' and target.version != '9': return True if target.detail == 'appimage': return True if target.distro == 'fedora' and int(target.version) >= 31: return True - if target.distro == 'centos' and target.version == '8': + if target.distro == 'centos' and target.version != '7': return True if target.distro == 'mageia': return True |
