lighttpd: fix audit
lighttpd: * `plist block` (line 112) should be put before `test block` (line 108)
This commit is contained in:
parent
999eb22ba4
commit
24c6828f25
1 changed files with 4 additions and 4 deletions
|
@ -105,10 +105,6 @@ class Lighttpd < Formula
|
|||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/lighttpd", "-t", "-f", config_path+"lighttpd.conf"
|
||||
end
|
||||
|
||||
plist_options :manual => "lighttpd -f #{HOMEBREW_PREFIX}/etc/lighttpd/lighttpd.conf"
|
||||
|
||||
def plist; <<-EOS.undent
|
||||
|
@ -149,4 +145,8 @@ class Lighttpd < Formula
|
|||
</plist>
|
||||
EOS
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/lighttpd", "-t", "-f", config_path+"lighttpd.conf"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue