KaKi87@jlai.lucake to KDE@lemmy.kde.social · 6 months agoInstall updates from Discover without password ?message-squaremessage-square19fedilinkarrow-up114file-text
arrow-up114message-squareInstall updates from Discover without password ?KaKi87@jlai.lucake to KDE@lemmy.kde.social · 6 months agomessage-square19fedilinkfile-text
minus-squareZamundaaa@discuss.tchncs.delinkfedilinkEnglisharrow-up2·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.
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.