From 0482fc465e1ac247a9514c572256b2cd97731438 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Mon, 1 Jun 2015 13:10:27 +0300 Subject: added passwordless-upgrade and cleaning up skel+live --- app-misc/passwordless-upgrade/files/10-RigoDaemon.rules | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 app-misc/passwordless-upgrade/files/10-RigoDaemon.rules (limited to 'app-misc/passwordless-upgrade/files') 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; + } +}); -- cgit v1.2.3