diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-06-01 13:10:27 +0300 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-06-01 13:10:27 +0300 |
commit | 0482fc465e1ac247a9514c572256b2cd97731438 (patch) | |
tree | 932cf2b5be1167013123c02324038db1be754f3c /app-misc/passwordless-upgrade/files/10-RigoDaemon.rules | |
parent | 2ac9951255deef1b3b5ddcde3cbf9ffc425c38db (diff) |
added passwordless-upgrade and cleaning up skel+live
Diffstat (limited to 'app-misc/passwordless-upgrade/files/10-RigoDaemon.rules')
-rw-r--r-- | app-misc/passwordless-upgrade/files/10-RigoDaemon.rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app-misc/passwordless-upgrade/files/10-RigoDaemon.rules b/app-misc/passwordless-upgrade/files/10-RigoDaemon.rules new file mode 100644 index 00000000..83210590 --- /dev/null +++ b/app-misc/passwordless-upgrade/files/10-RigoDaemon.rules @@ -0,0 +1,7 @@ +/* Allow users in the entropy group to launch system upgrades */ +polkit.addRule(function(action, subject) { + if (action.id == "org.sabayon.RigoDaemon.upgrade" && + subject.isInGroup("entropy")) { + return polkit.Result.YES; + } +}); |