summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorcah <cah@ableton.com>2021-09-11 12:37:20 +0200
committercah <cah@ableton.com>2021-09-11 12:37:20 +0200
commitc0144ab56c241962a36a2c9073acda8ca8522e88 (patch)
treeb76cf567651aadaeb80249673d3832e70c0eb5d8 /cscript
parent62a86168ae9608e4bcccf040b8ae6a92293ed486 (diff)
fix setpermsdeb-cli-only
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/cscript b/cscript
index 4fe705120..d713c3838 100644
--- a/cscript
+++ b/cscript
@@ -613,7 +613,7 @@ def package_windows(target):
def package_debian(target, cpu, version, options):
make_control(target.version, target.bits, 'debian/control', target.debug, options['gui'])
- if target.version != '9' and target.version != '16.04':
+ if target.version != '9' and target.version != '16.04' and options['gui']:
with open('debian/postinst', 'w') as f:
print('#!/bin/sh', file=f)
# Get the required capability to write to disks