projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5919403
)
Tidy can_build_disk checks to be more robust.
author
Carl Hetherington
<cth@carlh.net>
Wed, 26 May 2021 10:56:54 +0000
(12:56 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 26 May 2021 18:05:49 +0000
(20:05 +0200)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 965d42180e2717e2bf0ec0c3997488bc66a91d4d..deddcb51aaa5d09f65ae84db5b819384fcf308ff 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-208,15
+208,15
@@
def can_build_disk(target):
if target.platform == 'osx':
return True
if target.platform == 'linux':
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
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
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
return True
if target.distro == 'mageia':
return True