From 3e4bf2e9404deee032ae6c671946ce830fd5cc0b Mon Sep 17 00:00:00 2001 From: Geoffrey ROGUELON Date: Sat, 19 Oct 2013 15:15:59 +0200 Subject: pow: fix installation caveats. Add the backslashes in the caveats of Pow formula. The backslashes are necessary otherwise if the user copies the commands and pastes them in Terminal, the space of "Application Support" breaks the command. Reverse the order of ln command in order to respect the documentation of Pow which says that the .pow directory in user home must be a symbolic link of Hosts directory. See the note of section 2.1 (http://pow.cx/manual.html#section_2.1). Closes #23366. Signed-off-by: Mike McQuaid --- Library/Formula/pow.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Formula/pow.rb b/Library/Formula/pow.rb index 38cadf7a9..d4860da55 100644 --- a/Library/Formula/pow.rb +++ b/Library/Formula/pow.rb @@ -19,8 +19,8 @@ class Pow < Formula def caveats; <<-EOS.undent Create the required host directories: - mkdir -p ~/Library/Application\ Support/Pow/Hosts - ln -s ~/.pow ~/Library/Application\ Support/Pow/Hosts + mkdir -p ~/Library/Application\\ Support/Pow/Hosts + ln -s ~/Library/Application\\ Support/Pow/Hosts ~/.pow Setup port 80 forwarding and launchd agents: sudo pow --install-system -- cgit v1.2.3