summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/polkit
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/polkit')
-rw-r--r--perl-install/standalone/polkit/policy/Makefile16
-rw-r--r--perl-install/standalone/polkit/policy/org.mageia.drakauth.policy.in (renamed from perl-install/standalone/polkit/policy/org.mageia.drakauth.policy)4
-rw-r--r--perl-install/standalone/polkit/policy/org.mageia.drakboot.policy.in (renamed from perl-install/standalone/polkit/policy/org.mageia.drakboot.policy)4
-rw-r--r--perl-install/standalone/polkit/policy/org.mageia.drakclock.policy.in (renamed from perl-install/standalone/polkit/policy/org.mageia.drakclock.policy)4
-rw-r--r--perl-install/standalone/polkit/policy/org.mageia.drakfont.policy.in (renamed from perl-install/standalone/polkit/policy/org.mageia.drakfont.policy)4
-rw-r--r--perl-install/standalone/polkit/policy/org.mageia.draklog.policy.in (renamed from perl-install/standalone/polkit/policy/org.mageia.draklog.policy)4
-rw-r--r--perl-install/standalone/polkit/policy/org.mageia.drakups.policy.in (renamed from perl-install/standalone/polkit/policy/org.mageia.drakups.policy)4
-rw-r--r--perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy.in (renamed from perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy)4
8 files changed, 30 insertions, 14 deletions
diff --git a/perl-install/standalone/polkit/policy/Makefile b/perl-install/standalone/polkit/policy/Makefile
new file mode 100644
index 000000000..09ce27564
--- /dev/null
+++ b/perl-install/standalone/polkit/policy/Makefile
@@ -0,0 +1,16 @@
+POLKITPOLICYDEST = $(PREFIX)/usr/share/polkit-1/actions
+
+POLICY_IN := $(wildcard *.policy.in)
+POLICY = $(POLICY_IN:.policy.in=.policy)
+
+all: $(POLICY)
+
+clean:
+ rm -f $(POLICY)
+
+install: all
+ install -d $(POLKITPOLICYDEST)
+ install -m644 $(POLICY) $(POLKITPOLICYDEST)
+
+%.policy: %.policy.in
+ intltool-merge --utf8 ../../po $< $@ -x -u -c ../../po/.intltool-merge-cache
diff --git a/perl-install/standalone/polkit/policy/org.mageia.drakauth.policy b/perl-install/standalone/polkit/policy/org.mageia.drakauth.policy.in
index 905be635e..cfb2ba973 100644
--- a/perl-install/standalone/polkit/policy/org.mageia.drakauth.policy
+++ b/perl-install/standalone/polkit/policy/org.mageia.drakauth.policy.in
@@ -8,8 +8,8 @@
<vendor_url>http://www.mageia.org/</vendor_url>
<action id="org.mageia.drakauth.pkexec.run">
- <description>Run Mageia Authentication Configuration</description>
- <message>Authentication is required to run Mageia Authentication Configuration</message>
+ <_description>Run Mageia Authentication Configuration</_description>
+ <_message>Authentication is required to run Mageia Authentication Configuration</_message>
<icon_name>drakconf</icon_name>
<defaults>
<allow_any>no</allow_any>
diff --git a/perl-install/standalone/polkit/policy/org.mageia.drakboot.policy b/perl-install/standalone/polkit/policy/org.mageia.drakboot.policy.in
index e41372f73..8c1b81104 100644
--- a/perl-install/standalone/polkit/policy/org.mageia.drakboot.policy
+++ b/perl-install/standalone/polkit/policy/org.mageia.drakboot.policy.in
@@ -8,8 +8,8 @@
<vendor_url>http://www.mageia.org/</vendor_url>
<action id="org.mageia.drakboot.pkexec.run">
- <description>Run Mageia Boot Configuration</description>
- <message>Authentication is required to run Mageia Boot Configuration</message>
+ <_description>Run Mageia Boot Configuration</_description>
+ <_message>Authentication is required to run Mageia Boot Configuration</_message>
<icon_name>drakconf</icon_name>
<defaults>
<allow_any>no</allow_any>
diff --git a/perl-install/standalone/polkit/policy/org.mageia.drakclock.policy b/perl-install/standalone/polkit/policy/org.mageia.drakclock.policy.in
index 627f8745b..ffb240242 100644
--- a/perl-install/standalone/polkit/policy/org.mageia.drakclock.policy
+++ b/perl-install/standalone/polkit/policy/org.mageia.drakclock.policy.in
@@ -8,8 +8,8 @@
<vendor_url>http://www.mageia.org/</vendor_url>
<action id="org.mageia.drakclock.pkexec.run">
- <description>Run Mageia Date and Time Configuration</description>
- <message>Authentication is required to run Mageia Date and Time Configuration</message>
+ <_description>Run Mageia Date and Time Configuration</_description>
+ <_message>Authentication is required to run Mageia Date and Time Configuration</_message>
<icon_name>drakconf</icon_name>
<defaults>
<allow_any>no</allow_any>
diff --git a/perl-install/standalone/polkit/policy/org.mageia.drakfont.policy b/perl-install/standalone/polkit/policy/org.mageia.drakfont.policy.in
index c4837cca5..ab5952d66 100644
--- a/perl-install/standalone/polkit/policy/org.mageia.drakfont.policy
+++ b/perl-install/standalone/polkit/policy/org.mageia.drakfont.policy.in
@@ -8,8 +8,8 @@
<vendor_url>http://www.mageia.org/</vendor_url>
<action id="org.mageia.drakfont.pkexec.run">
- <description>Run Mageia Font Configuration</description>
- <message>Authentication is required to run Mageia Font Configuration</message>
+ <_description>Run Mageia Font Configuration</_description>
+ <_message>Authentication is required to run Mageia Font Configuration</_message>
<icon_name>drakconf</icon_name>
<defaults>
<allow_any>no</allow_any>
diff --git a/perl-install/standalone/polkit/policy/org.mageia.draklog.policy b/perl-install/standalone/polkit/policy/org.mageia.draklog.policy.in
index 85842378f..14af2ddcf 100644
--- a/perl-install/standalone/polkit/policy/org.mageia.draklog.policy
+++ b/perl-install/standalone/polkit/policy/org.mageia.draklog.policy.in
@@ -8,8 +8,8 @@
<vendor_url>http://www.mageia.org/</vendor_url>
<action id="org.mageia.draklog.pkexec.run">
- <description>Run Mageia Log Viewer</description>
- <message>Authentication is required to run Mageia Log Viewer</message>
+ <_description>Run Mageia Log Viewer</_description>
+ <_message>Authentication is required to run Mageia Log Viewer</_message>
<icon_name>drakconf</icon_name>
<defaults>
<allow_any>no</allow_any>
diff --git a/perl-install/standalone/polkit/policy/org.mageia.drakups.policy b/perl-install/standalone/polkit/policy/org.mageia.drakups.policy.in
index 2af273084..31735098d 100644
--- a/perl-install/standalone/polkit/policy/org.mageia.drakups.policy
+++ b/perl-install/standalone/polkit/policy/org.mageia.drakups.policy.in
@@ -8,8 +8,8 @@
<vendor_url>http://www.mageia.org/</vendor_url>
<action id="org.mageia.drakups.pkexec.run">
- <description>Run Mageia UPS Configuration</description>
- <message>Authentication is required to run Mageia UPS Configuration</message>
+ <_description>Run Mageia UPS Configuration</_description>
+ <_message>Authentication is required to run Mageia UPS Configuration</_message>
<icon_name>drakconf</icon_name>
<defaults>
<allow_any>no</allow_any>
diff --git a/perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy b/perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy.in
index daa9a7267..9c4512a50 100644
--- a/perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy
+++ b/perl-install/standalone/polkit/policy/org.mageia.drakxservices.policy.in
@@ -8,8 +8,8 @@
<vendor_url>http://www.mageia.org/</vendor_url>
<action id="org.mageia.drakxservices.pkexec.run">
- <description>Run Mageia Service Configuration</description>
- <message>Authentication is required to run Mageia Service Configuration</message>
+ <_description>Run Mageia Service Configuration</_description>
+ <_message>Authentication is required to run Mageia Service Configuration</_message>
<icon_name>drakconf</icon_name>
<defaults>
<allow_any>no</allow_any>