Build disk writer on more Fedora versions.
authorCarl Hetherington <cth@carlh.net>
Thu, 22 Apr 2021 08:12:43 +0000 (10:12 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 22 Apr 2021 13:42:11 +0000 (15:42 +0200)
cscript

diff --git a/cscript b/cscript
index ea8056c5df63d24e66384833d6ce3dba51f57587..b6f6ce5d1167136dd15ceec124bf5f16ef22a788 100644 (file)
--- a/cscript
+++ b/cscript
@@ -214,7 +214,7 @@ def can_build_disk(target):
             return True
         if target.detail == 'appimage':
             return True 
-        if target.distro == 'fedora' and target.version == '31':
+        if target.distro == 'fedora' and int(target.version) >= 31:
             return True
         if target.distro == 'centos' and target.version == '8':
             return True