summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-dev/LinHES9_iso/cust_skel/airootfs/usr/bin/calamares_polkit
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/linhes-dev/LinHES9_iso/cust_skel/airootfs/usr/bin/calamares_polkit')
-rwxr-xr-xlinhes/linhes-dev/LinHES9_iso/cust_skel/airootfs/usr/bin/calamares_polkit6
1 files changed, 6 insertions, 0 deletions
diff --git a/linhes/linhes-dev/LinHES9_iso/cust_skel/airootfs/usr/bin/calamares_polkit b/linhes/linhes-dev/LinHES9_iso/cust_skel/airootfs/usr/bin/calamares_polkit
new file mode 100755
index 0000000..9bce0f8
--- /dev/null
+++ b/linhes/linhes-dev/LinHES9_iso/cust_skel/airootfs/usr/bin/calamares_polkit
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [ $(which pkexec) ]; then
+ pkexec --disable-internal-agent "/usr/bin/calamares" "$@"
+else
+ /usr/bin/calamares "$@"
+fi