summaryrefslogtreecommitdiffstats
path: root/polkit
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-10-13 11:20:32 +0100
committerColin Guthrie <colin@mageia.org>2013-10-13 11:20:32 +0100
commitd3d5335b561fa0afeeaa50e4fc473b53d304537c (patch)
tree7fd549e2b609b6d63dcf88d87defbf665c840bdd /polkit
parent8c4e99a69f085cf511c09173f56964797a69f54d (diff)
downloadurpmi-d3d5335b561fa0afeeaa50e4fc473b53d304537c.tar
urpmi-d3d5335b561fa0afeeaa50e4fc473b53d304537c.tar.gz
urpmi-d3d5335b561fa0afeeaa50e4fc473b53d304537c.tar.bz2
urpmi-d3d5335b561fa0afeeaa50e4fc473b53d304537c.tar.xz
urpmi-d3d5335b561fa0afeeaa50e4fc473b53d304537c.zip
Move urpmi.update wrapper+policy back to mgaonline
The whole 'don't ask for auth' bit is needed when running mgaoline to periodically check for new updates. Other 'internal' uses of urpmi.update (namely in drakxtools) can use the full, private path to the binary.
Diffstat (limited to 'polkit')
-rw-r--r--polkit/org.mageia.urpmi.update.policy.in22
1 files changed, 0 insertions, 22 deletions
diff --git a/polkit/org.mageia.urpmi.update.policy.in b/polkit/org.mageia.urpmi.update.policy.in
deleted file mode 100644
index dabef903..00000000
--- a/polkit/org.mageia.urpmi.update.policy.in
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE policyconfig PUBLIC
-"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
-"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
-<policyconfig>
-
- <vendor>Mageia</vendor>
- <vendor_url>http://www.mageia.org/</vendor_url>
-
- <action id="org.mageia.urpmi.update.pkexec.run">
- <_description>Run Mageia Package Media Updater</_description>
- <_message>Authentication is required to run Mageia Package Media Updater</_message>
- <icon_name>drakconf</icon_name>
- <defaults>
- <allow_any>no</allow_any>
- <allow_inactive>no</allow_inactive>
- <allow_active>yes</allow_active>
- </defaults>
- <annotate key="org.freedesktop.policykit.exec.path">/usr/libexec/urpmi.update</annotate>
- <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
- </action>
-</policyconfig>