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 17f0bcae Tab police
17f0bcae is described below
commit 17f0bcaea910f97398f1e65ba1141e71e4334a6a
Author: Sebb <[email protected]>
AuthorDate: Thu Jan 19 23:49:39 2023 +0000
Tab police
---
config/setupmymac | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/config/setupmymac b/config/setupmymac
index fd827c32..4ac22e96 100755
--- a/config/setupmymac
+++ b/config/setupmymac
@@ -561,7 +561,7 @@ unless $root and force[:toucher] != nil
File.write plist, contents unless $dry_run
if `launchctl list`.include? 'org.apache.whimsy/toucher'
- run "launchctl unload #{plist}"
+ run "launchctl unload #{plist}"
end
end
@@ -592,30 +592,30 @@ if force[:ws] != nil
contents[/<key>GroupName<\/key>\s*<string>(.*?)<\/string>/, 1] = group
unless Dir.exist? File.dirname(plist)
- run "mkdir -p #{File.dirname(plist)}"
+ run "mkdir -p #{File.dirname(plist)}"
end
unless File.exist?(plist) or File.read(plist) != contents
- unless $dry_run
- color "$ sudo edit #{plist}"
- File.write plist, contents
- end
-
- if `launchctl list`.include? 'org.apache.whimsy/board/agenda'
- run "launchctl unload #{plist}"
- end
+ unless $dry_run
+ color "$ sudo edit #{plist}"
+ File.write plist, contents
+ end
+
+ if `launchctl list`.include? 'org.apache.whimsy/board/agenda'
+ run "launchctl unload #{plist}"
+ end
end
unless `launchctl list`.include? 'org.apache.whimsy/board/agenda'
- run "launchctl load #{plist}"
+ run "launchctl load #{plist}"
end
else
if `launchctl list`.include? 'org.apache.whimsy/board/agenda'
- run "launchctl unload #{plist}"
+ run "launchctl unload #{plist}"
end
if File.exist?(plist)
- run "rm #{plist}"
+ run "rm #{plist}"
end
end
end