lighttpd: fix audit

lighttpd:
  * `plist block` (line 112) should be put before `test block` (line 108)
This commit is contained in:
Miguel Araújo 2017-02-12 07:48:51 -03:00 committed by Mike McQuaid
parent 999eb22ba4
commit 24c6828f25

View file

@ -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