This is an automated email from the ASF dual-hosted git repository.

rubys 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 669f167  fix typo
669f167 is described below

commit 669f167ecbb63bf17ccfb0c3cadbefcc49a311ee
Author: Sam Ruby <[email protected]>
AuthorDate: Sun Nov 24 21:13:50 2019 -0500

    fix typo
---
 config/setupmymac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/setupmymac b/config/setupmymac
index e9942f1..211d76d 100755
--- a/config/setupmymac
+++ b/config/setupmymac
@@ -116,7 +116,7 @@ unless Dir.exist? '/srv'
       FileUtils.chown ENV['SUDO_USER'], group, '/var/whimsy'
       FileUtils.touch '/etc/synthetic.conf'
       SYNTHETIC = '/etc/synthetic.conf'
-      unless File.read(SYNTHETIC).inslude? "/var/whimsy"
+      unless File.read(SYNTHETIC).include? "/var/whimsy"
         File.write SYNTHETIC, File.read(SYNTHETIC) + "srv\t/var/whimsy\n"
         STDERR.puts "#{SYNTHETIC} updated; reboot machine and rerun this 
script"
         exit 1

Reply via email to