Add polkit paths for Fedora distros
This commit is contained in:
parent
66f2c25891
commit
9782b8210e
30
firestarter
30
firestarter
@ -143,18 +143,32 @@ command -v polkit-efl-authentication-agent-1
|
|||||||
polkit-efl-authentication-agent-1
|
polkit-efl-authentication-agent-1
|
||||||
[ -x "/usr/lib/ts-polkitagent" ]
|
[ -x "/usr/lib/ts-polkitagent" ]
|
||||||
/usr/lib/ts-polkitagent
|
/usr/lib/ts-polkitagent
|
||||||
[ -x "/usr/lib/$(uname -m)-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1" ]
|
|
||||||
"/usr/lib/$(uname -m)-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1"
|
|
||||||
[ -x "/usr/lib/mate-polkit/polkit-mate-authentication-agent-1" ]
|
|
||||||
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1
|
|
||||||
[ -x "/usr/lib/$(uname -m)-linux-gnu/libexec/polkit-kde-authentication-agent-1" ]
|
|
||||||
"/usr/lib/$(uname -m)-linux-gnu/libexec/polkit-kde-authentication-agent-1"
|
|
||||||
[ -x "/usr/lib/polkit-kde-authentication-agent-1" ]
|
|
||||||
/usr/lib/polkit-kde-authentication-agent-1
|
|
||||||
[ -x "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1" ]
|
[ -x "/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1" ]
|
||||||
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
|
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
|
||||||
[ -x "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" ]
|
[ -x "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" ]
|
||||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
# Debian locations
|
||||||
|
# On generation time, your architecture is filled in here
|
||||||
|
[ -x "/usr/lib/$(uname -m)-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1" ]
|
||||||
|
"/usr/lib/$(uname -m)-linux-gnu/polkit-mate/polkit-mate-authentication-agent-1"
|
||||||
|
[ -x "/usr/lib/$(uname -m)-linux-gnu/libexec/polkit-kde-authentication-agent-1" ]
|
||||||
|
"/usr/lib/$(uname -m)-linux-gnu/libexec/polkit-kde-authentication-agent-1"
|
||||||
|
# Arch locations
|
||||||
|
[ -x "/usr/lib/mate-polkit/polkit-mate-authentication-agent-1" ]
|
||||||
|
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1
|
||||||
|
[ -x "/usr/lib/polkit-kde-authentication-agent-1" ]
|
||||||
|
/usr/lib/polkit-kde-authentication-agent-1
|
||||||
|
# Fedora locations
|
||||||
|
[ -x "/usr/libexec/xfce-polkit" ]
|
||||||
|
/usr/libexec/xfce-polkit
|
||||||
|
[ -x "/usr/libexec/lxqt-policykit-agent" ]
|
||||||
|
/usr/libexec/lxqt-policykit-agent
|
||||||
|
[ -x "/usr/libexec/polkit-mate-authentication-agent-1" ]
|
||||||
|
/usr/libexec/polkit-mate-authentication-agent-1
|
||||||
|
[ -x "/usr/libexec/kf5/polkit-kde-authentication-agent-1" ]
|
||||||
|
/usr/libexec/kf5/polkit-kde-authentication-agent-1
|
||||||
|
[ -x "/usr/libexec/polkit-gnome-authentication-agent-1" ]
|
||||||
|
/usr/libexec/polkit-gnome-authentication-agent-1
|
||||||
EOF
|
EOF
|
||||||
# Hotkey daemon
|
# Hotkey daemon
|
||||||
cat << EOF > "$_configdir/hotkey-daemon"
|
cat << EOF > "$_configdir/hotkey-daemon"
|
||||||
|
Loading…
Reference in New Issue
Block a user