From 845e19eb8b7535fb1025dd65752312b85ba0e3cf Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 13 Oct 2013 11:29:42 +0100 Subject: Add urpmi.update polkit wrapper. We like to be able to run this command without any user interaction when checking for package updates. It's somewhat awkward to keep the policy and the binary in separate repositories, but keeping this split will prevent pulling in mgaonline during priority updates section of the distro upgrade. --- NEWS | 2 ++ polkit/org.mageia.urpmi.update.policy.in | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 polkit/org.mageia.urpmi.update.policy.in diff --git a/NEWS b/NEWS index b2d29148..19b1aa73 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- re-add polkit wrapper for urpmi.update (mga#11125) + Version 2.82 - 12 October 2013, Colin Guthrie - use polkit for authorisation (mga#11125) diff --git a/polkit/org.mageia.urpmi.update.policy.in b/polkit/org.mageia.urpmi.update.policy.in new file mode 100644 index 00000000..dabef903 --- /dev/null +++ b/polkit/org.mageia.urpmi.update.policy.in @@ -0,0 +1,22 @@ + + + + + Mageia + http://www.mageia.org/ + + + <_description>Run Mageia Package Media Updater + <_message>Authentication is required to run Mageia Package Media Updater + drakconf + + no + no + yes + + /usr/libexec/urpmi.update + true + + -- cgit v1.2.1