aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoffrey ROGUELON2013-10-19 15:15:59 +0200
committerMike McQuaid2013-10-19 14:35:54 +0100
commit3e4bf2e9404deee032ae6c671946ce830fd5cc0b (patch)
tree0a2d84ed5a9ca3e018ed1a0ac68f179cb48e4583
parent128481d3a00bb8daa64b2520ed57740b6f86ab9f (diff)
downloadhomebrew-3e4bf2e9404deee032ae6c671946ce830fd5cc0b.tar.bz2
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 <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/pow.rb4
1 files changed, 2 insertions, 2 deletions
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