aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Peters2015-10-05 16:40:34 -0700
committerXu Cheng2015-10-07 19:42:02 +0800
commitd3d1b6f0fe57660d6b3f6cf74e08b75ba5322649 (patch)
tree22dda06a3fe244486830ae344c9ba208c5e7187a
parent831850029422cb3d78e395ce091b1e2a115b5400 (diff)
downloadbrew-d3d1b6f0fe57660d6b3f6cf74e08b75ba5322649.tar.bz2
Encourage https for bottle hosting
I assume that we want to encourage people hosting their own bottles to serve them using `https`. This PR has a trivial change in the example. We may consider adding some text to the `root_url` description with a discussion of security. Also use https://example.com instead of http://mikemcquaid.com in bottle example. Closes Homebrew/homebrew#44651. Signed-off-by: Xu Cheng <xucheng@me.com>
-rw-r--r--share/doc/homebrew/Bottles.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/doc/homebrew/Bottles.md b/share/doc/homebrew/Bottles.md
index ea54b170c..f34df10a4 100644
--- a/share/doc/homebrew/Bottles.md
+++ b/share/doc/homebrew/Bottles.md
@@ -32,7 +32,7 @@ end
A full example:
```ruby
bottle do
- root_url "http://mikemcquaid.com"
+ root_url "https://example.com"
prefix "/opt/homebrew"
cellar "/opt/homebrew/Cellar"
revision 4