Is that possible ?

Thanks

  • KaKi87OP
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Could you please elaborate on that ? Thanks

    • Zamundaaa@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      6 months ago

      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.