mirror of
https://github.com/artizirk/dotfiles.git
synced 2026-10-31 21:54:56 +02:00
More robust polkit-agent selector
This commit is contained in:
1 parent
bc974676a9
commit
7f00b7347c
1 file changed
+10
-3
+10
-3
@@ -1,4 +1,11 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
#/usr/lib/mate-polkit/polkit-mate-authentication-agent-1
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
for agent in \
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 \
|
||||
/usr/lib/mate-polkit/polkit-mate-authentication-agent-1 \
|
||||
/usr/libexec/polkit-mate-authentication-agent-1
|
||||
do
|
||||
if [[ -x "$agent" ]]; then
|
||||
exec $agent
|
||||
fi
|
||||
done
|
||||
Reference in new issue
Block a user