summaryrefslogtreecommitdiff
path: root/sysutils/gsmartcontrol/files/patch-data_org.gsmartcontrol.policy
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gsmartcontrol/files/patch-data_org.gsmartcontrol.policy')
-rw-r--r--sysutils/gsmartcontrol/files/patch-data_org.gsmartcontrol.policy11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/gsmartcontrol/files/patch-data_org.gsmartcontrol.policy b/sysutils/gsmartcontrol/files/patch-data_org.gsmartcontrol.policy
new file mode 100644
index 000000000000..8cb3cbda9556
--- /dev/null
+++ b/sysutils/gsmartcontrol/files/patch-data_org.gsmartcontrol.policy
@@ -0,0 +1,11 @@
+--- data/org.gsmartcontrol.policy.orig 2017-08-27 18:49:36.000000000 +0200
++++ data/org.gsmartcontrol.policy 2021-02-02 21:41:16.437199000 +0100
+@@ -12,7 +12,7 @@
+ <allow_inactive>auth_admin</allow_inactive>
+ <allow_active>auth_admin</allow_active>
+ </defaults>
+- <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gsmartcontrol</annotate>
++ <annotate key="org.freedesktop.policykit.exec.path">%%PREFIX%%/sbin/gsmartcontrol</annotate>
+ <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
+ </action>
+