summaryrefslogtreecommitdiffstats
path: root/utils/update-alternatives.polkit.in
blob: a712bc36612a59361d774663963a6bea2f29b252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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>The Dpkg Project</vendor>
  <vendor_url>https://wiki.debian.org/Teams/Dpkg</vendor_url>
  <icon_name>update-alternatives</icon_name>

  <action id="org.dpkg.pkexec.update-alternatives">
    <description>Run update-alternatives to modify system alternative selections</description>
    <message>Authentication is required to run update-alternatives</message>
    <defaults>
      <allow_any>auth_admin_keep</allow_any>
      <allow_inactive>auth_admin_keep</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
    <annotate key="org.freedesktop.policykit.exec.path">@bindir@/update-alternatives</annotate>
  </action>
</policyconfig>