summarylogtreecommitdiffstats
path: root/indicator-cpufreq.rules
diff options
context:
space:
mode:
authorQue Quotion2015-09-09 02:41:34 +0900
committerQue Quotion2015-09-09 02:41:34 +0900
commit6ada4a859eeb24fb3fa6cb65ba1eee416f105b2d (patch)
tree40ae2b6322c0927d8d5125ccb99f8cbe95dc0d63 /indicator-cpufreq.rules
parente14ec91050dfe038716672f01564ef8de8d9ee32 (diff)
downloadaur-6ada4a859eeb24fb3fa6cb65ba1eee416f105b2d.tar.gz
First official AUR4 release.
Diffstat (limited to 'indicator-cpufreq.rules')
-rw-r--r--indicator-cpufreq.rules10
1 files changed, 5 insertions, 5 deletions
diff --git a/indicator-cpufreq.rules b/indicator-cpufreq.rules
index dc28dd7895a9..c0c6bfaf2b0b 100644
--- a/indicator-cpufreq.rules
+++ b/indicator-cpufreq.rules
@@ -8,7 +8,7 @@
polkit.addRule(function(action, subject) {
if ((action.id == "com.ubuntu.indicatorcpufreqselector.setthrottle")
&& subject.local
- && subject.active {
+ && subject.active) {
return polkit.Result.YES;
}
});
@@ -16,7 +16,7 @@ polkit.addRule(function(action, subject) {
polkit.addRule(function(action, subject) {
if ((action.id == "com.ubuntu.indicatorcpufreqselector.setfrequencyscaling")
&& subject.local
- && subject.active {
+ && subject.active) {
return polkit.Result.YES;
}
});
@@ -24,7 +24,7 @@ polkit.addRule(function(action, subject) {
polkit.addRule(function(action, subject) {
if ((action.id == "com.ubuntu.indicatorcpufreqselector.setpsturbo")
&& subject.local
- && subject.active {
+ && subject.active) {
return polkit.Result.YES;
}
});
@@ -32,7 +32,7 @@ polkit.addRule(function(action, subject) {
polkit.addRule(function(action, subject) {
if ((action.id == "com.ubuntu.indicatorcpufreqselector.sethyperthreads")
&& subject.local
- && subject.active {
+ && subject.active) {
return polkit.Result.YES;
}
});
@@ -40,7 +40,7 @@ polkit.addRule(function(action, subject) {
polkit.addRule(function(action, subject) {
if ((action.id == "com.ubuntu.indicatorcpufreqselector.setgputhrottle")
&& subject.local
- && subject.active {
+ && subject.active) {
return polkit.Result.YES;
}
});