summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-02-17 20:26:14 +0100
committerCarl Hetherington <cth@carlh.net>2025-02-18 13:57:21 +0100
commit3483ec49eaf63315929b45cd89b2d7be5fabb4aa (patch)
treee7ee40d1ba594f0c569ff47332cd448494f7dfbc
parentd5433465b70e8fc1ed0d06f5a417a14875aa30c2 (diff)
Cleanup: tidy an or.
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 009506f83..d046bf89a 100644
--- a/cscript
+++ b/cscript
@@ -786,7 +786,7 @@ def package(target, version, options):
out.append(make_appimage(target, 'DCP-o-matic Verifier', 'dcpomatic2_verifier', version))
return out
else:
- if target.distro == 'debian' or target.distro == 'ubuntu':
+ if target.distro in ('debian', 'ubuntu'):
return package_debian(target, target.cpu, version, options)
elif target.distro == 'centos' or target.distro == 'fedora' or target.distro == 'mageia':
return package_rpm(target, target.cpu, version, options)