lighttpd: fix audit warning.

This commit is contained in:
Mike McQuaid 2014-03-31 12:33:45 -05:00
parent 040b9b089c
commit a703349efb

View file

@ -54,8 +54,7 @@ class Lighttpd < Formula
system "make install"
unless File.exist? config_path
config_path.install Dir["doc/config/lighttpd.conf"]
config_path.install Dir["doc/config/modules.conf"]
config_path.install "doc/config/lighttpd.conf", "doc/config/modules.conf"
(config_path/"conf.d/").install Dir["doc/config/conf.d/*.conf"]
inreplace config_path+"lighttpd.conf" do |s|
s.sub!(/^var\.log_root\s*=\s*".+"$/,"var.log_root = \"#{log_path}\"")