calamares/data/calamares_polkit

12 lines
290 B
Plaintext
Raw Normal View History

2016-09-10 13:57:38 +02:00
#!/bin/bash
if [ $(which pkexec) ]; then
2023-12-04 00:37:57 +01:00
pkexec --disable-internal-agent \
env DISPLAY="$DISPLAY" \
XAUTHORITY="$XAUTHORITY" \
DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" \
HOME="$HOME" \
"/usr/bin/calamares" "-D6" "$@"
2016-09-10 13:57:38 +02:00
else
2023-12-04 00:37:57 +01:00
/usr/bin/calamares "-D6" "$@"
2016-09-10 13:57:38 +02:00
fi