KaKi87@jlai.lu to KDE@lemmy.kde.social · 5 months agoInstall updates from Discover without password ?message-squaremessage-square18fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareInstall updates from Discover without password ?KaKi87@jlai.lu to KDE@lemmy.kde.social · 5 months agomessage-square18fedilinkfile-text
minus-squareKaKi87@jlai.luOPlinkfedilinkarrow-up0·5 months agoCould you please elaborate on that ? Thanks
minus-squareZamundaaa@discuss.tchncs.delinkfedilinkEnglisharrow-up0·5 months agoFedora just has polkit.addRule(function(action, subject) { if ((action.id == "org.freedesktop.packagekit.package-install" || action.id == "org.freedesktop.packagekit.package-remove") && subject.active == true && subject.local == true && subject.isInGroup("wheel")) { return polkit.Result.YES; } }); in /usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules. If you put the same file in there, it should work.
Could you please elaborate on that ? Thanks
Fedora just has
polkit.addRule(function(action, subject) { if ((action.id == "org.freedesktop.packagekit.package-install" || action.id == "org.freedesktop.packagekit.package-remove") && subject.active == true && subject.local == true && subject.isInGroup("wheel")) { return polkit.Result.YES; } });
in
/usr/share/polkit-1/rules.d/org.freedesktop.packagekit.rules
. If you put the same file in there, it should work.