httpd: fix component order
This commit is contained in:
parent
6bb7534d5f
commit
3a364b8a1e
1 changed files with 5 additions and 5 deletions
|
@ -98,6 +98,11 @@ class Httpd < Formula
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def post_install
|
||||||
|
(var/"cache/httpd").mkpath
|
||||||
|
(var/"www").mkpath
|
||||||
|
end
|
||||||
|
|
||||||
def caveats
|
def caveats
|
||||||
<<~EOS
|
<<~EOS
|
||||||
DocumentRoot is #{var}/www.
|
DocumentRoot is #{var}/www.
|
||||||
|
@ -107,11 +112,6 @@ class Httpd < Formula
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
def post_install
|
|
||||||
(var/"cache/httpd").mkpath
|
|
||||||
(var/"www").mkpath
|
|
||||||
end
|
|
||||||
|
|
||||||
plist_options :manual => "apachectl start"
|
plist_options :manual => "apachectl start"
|
||||||
|
|
||||||
def plist; <<~EOS
|
def plist; <<~EOS
|
||||||
|
|
Loading…
Reference in a new issue