[data] add env to polkit launcher
This commit is contained in:
parent
1bd53bb8c3
commit
2368c3dba2
@ -1,6 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [ $(which pkexec) ]; then
|
if [ $(which pkexec) ]; then
|
||||||
pkexec --disable-internal-agent "/usr/bin/calamares" "$@"
|
pkexec --disable-internal-agent \
|
||||||
|
env DISPLAY="$DISPLAY" \
|
||||||
|
XAUTHORITY="$XAUTHORITY" \
|
||||||
|
DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" \
|
||||||
|
HOME="$HOME" \
|
||||||
|
"/usr/bin/calamares" "-D6" "$@"
|
||||||
else
|
else
|
||||||
/usr/bin/calamares "$@"
|
/usr/bin/calamares "-D6" "$@"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user