httpd: fix component order

This commit is contained in:
commitay 2018-04-27 10:33:17 +10:00
parent 6bb7534d5f
commit 3a364b8a1e

View file

@ -98,6 +98,11 @@ class Httpd < Formula
end
end
def post_install
(var/"cache/httpd").mkpath
(var/"www").mkpath
end
def caveats
<<~EOS
DocumentRoot is #{var}/www.
@ -107,11 +112,6 @@ class Httpd < Formula
EOS
end
def post_install
(var/"cache/httpd").mkpath
(var/"www").mkpath
end
plist_options :manual => "apachectl start"
def plist; <<~EOS