This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push: new 89d6bb7c Fix logic 89d6bb7c is described below commit 89d6bb7c27e803579bb272368050ab08e6133223 Author: Sebb <s...@apache.org> AuthorDate: Sun Apr 21 12:20:07 2024 +0100 Fix logic --- config/setupmymac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/setupmymac b/config/setupmymac index 560adae8..ef4ef35c 100755 --- a/config/setupmymac +++ b/config/setupmymac @@ -371,7 +371,7 @@ if option != :user snippet += "PassengerUser #{user}\nPassengerGroup #{group}\n" end -unless File.exist?(passenger_conf) or File.read(passenger_conf) != snippet +if !File.exist?(passenger_conf) or File.read(passenger_conf) != snippet sudo do color "$ sudo edit #{passenger_conf}" File.write passenger_conf, snippet unless $dry_run