@KaKi87 to KDE@lemmy.kde.social • 24 days agoInstall updates from Discover without password ?message-square20arrow-up117arrow-down12file-text
arrow-up115arrow-down1message-squareInstall updates from Discover without password ?@KaKi87 to KDE@lemmy.kde.social • 24 days agomessage-square20file-text
minus-square@Zamundaaa@discuss.tchncs.delinkfedilinkEnglish2•18 days 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.