From e0fd1683926c20cbe85bb3f5cc42e887a06beba7 Mon Sep 17 00:00:00 2001 From: jelaiw <14236583+jelaiw@users.noreply.github.com> Date: Mon, 11 Sep 2023 23:24:59 +0000 Subject: [PATCH] Clean up whitespace. --- ansible/02-allow-colord.rules | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ansible/02-allow-colord.rules b/ansible/02-allow-colord.rules index f713871..f3c3def 100644 --- a/ansible/02-allow-colord.rules +++ b/ansible/02-allow-colord.rules @@ -1,12 +1,12 @@ polkit.addRule(function(action, subject) { -if ((action.id == "org.freedesktop.color-manager.create-device" || - action.id == "org.freedesktop.color-manager.create-profile" || - action.id == "org.freedesktop.color-manager.delete-device" || - action.id == "org.freedesktop.color-manager.delete-profile" || - action.id == "org.freedesktop.color-manager.modify-device" || - action.id == "org.freedesktop.color-manager.modify-profile") && - subject.isInGroup("{kali}")) { - return polkit.Result.YES; + if ((action.id == "org.freedesktop.color-manager.create-device" || + action.id == "org.freedesktop.color-manager.create-profile" || + action.id == "org.freedesktop.color-manager.delete-device" || + action.id == "org.freedesktop.color-manager.delete-profile" || + action.id == "org.freedesktop.color-manager.modify-device" || + action.id == "org.freedesktop.color-manager.modify-profile") && + subject.isInGroup("{kali}")) { + return polkit.Result.YES; } });