summaryrefslogtreecommitdiffstats
path: root/data/org.gnome.software.external-appstream.policy.in.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--data/org.gnome.software.external-appstream.policy.in.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/data/org.gnome.software.external-appstream.policy.in.in b/data/org.gnome.software.external-appstream.policy.in.in
new file mode 100644
index 0000000..69af72a
--- /dev/null
+++ b/data/org.gnome.software.external-appstream.policy.in.in
@@ -0,0 +1,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.0/policyconfig.dtd">
+<policyconfig>
+ <vendor>GNOME</vendor>
+ <vendor_url>https://www.gnome.org/</vendor_url>
+
+ <action id="org.gnome.software.install-appstream">
+ <description>Install an appstream file into a system location</description>
+ <message>Installing an appstream file into a system location</message>
+ <defaults>
+ <allow_any>yes</allow_any>
+ <allow_active>yes</allow_active>
+ <allow_inactive>no</allow_inactive>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">@libexecdir@/gnome-software-install-appstream</annotate>
+ </action>
+</policyconfig>