8 lines
257 B
Plaintext
8 lines
257 B
Plaintext
polkit.addRule(function(action, subject) {
|
|
if (action.id == "org.freedesktop.packagekit.package-install" &&
|
|
subject.active == true && subject.local == true &&
|
|
subject.isInGroup("wheel")) {
|
|
return polkit.Result.YES;
|
|
}
|
|
});
|