Skip to content

Commit

Permalink
Clean up whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelaiw committed Sep 11, 2023
1 parent 925607c commit e0fd168
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ansible/02-allow-colord.rules
Original file line number Diff line number Diff line change
@@ -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;
}
});

0 comments on commit e0fd168

Please sign in to comment.