This is an automated email from the ASF dual-hosted git repository.
curcuru 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 edbec95 Fix typo
edbec95 is described below
commit edbec95e4fed96a4a69b9440903e6045d1f284ab
Author: Shane Curcuru <[email protected]>
AuthorDate: Sun May 24 17:01:52 2020 -0400
Fix typo
Was this really just a rite of passage left in there for Catalina users, or
a real typo? :smile_cat:
---
config/setupmymac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/setupmymac b/config/setupmymac
index 3861418..08b54ee 100755
--- a/config/setupmymac
+++ b/config/setupmymac
@@ -231,7 +231,7 @@ unless Dir.exist? '/srv'
if (mac_version.split('.').map(&:to_i) <=> [10, 15, 0]) >= 0
# Catalina or later
run 'mkdir', '/var/whimsy' unless Dir.exist? '/var/whimsy'
- run 'chown', "#{sudo_useruid}:#{sudo_user.gid}", '/var/whimsy'
+ run 'chown', "#{sudo_user.uid}:#{sudo_user.gid}", '/var/whimsy'
run 'touch', '/etc/synthetic.conf'
SYNTHETIC = '/etc/synthetic.conf'
unless File.read(SYNTHETIC).include? "/var/whimsy"