Remove polkit rule for garuda assistant
This commit is contained in:
parent
dcaa1d32a3
commit
140795a08e
2 changed files with 1 additions and 9 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Librewish <librewish@gmail.com>
|
||||
|
||||
pkgname=garuda-common-settings
|
||||
pkgver=2.2.1
|
||||
pkgver=2.2.2
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
||||
|
|
|
@ -95,11 +95,3 @@ polkit.addRule(function(action, subject) {
|
|||
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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue