From c0144ab56c241962a36a2c9073acda8ca8522e88 Mon Sep 17 00:00:00 2001 From: cah Date: Sat, 11 Sep 2021 12:37:20 +0200 Subject: [PATCH] fix setperms --- cscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2