1
0
Fork 0
mirror of synced 2024-11-22 01:55:36 -05:00

Remove polkit rule for garuda assistant

This commit is contained in:
TNE 2021-11-03 07:25:20 +01:00
parent dcaa1d32a3
commit 140795a08e
2 changed files with 1 additions and 9 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Librewish <librewish@gmail.com> # Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings pkgname=garuda-common-settings
pkgver=2.2.1 pkgver=2.2.2
pkgrel=1 pkgrel=1
arch=('any') arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname" url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"

View file

@ -95,11 +95,3 @@ polkit.addRule(function(action, subject) {
return polkit.Result.YES; return polkit.Result.YES;
} }
}); });
polkit.addRule(function(action, subject) {
if ((action.id == "org.garuda.garuda-assistant.pkexec.policy.run") &&
subject.isInGroup("wheel"))
{
return polkit.Result.YES;
}
});