lighttpd: fix audit warning.
This commit is contained in:
parent
040b9b089c
commit
a703349efb
1 changed files with 1 additions and 2 deletions
|
@ -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}\"")
|
||||
|
|
Loading…
Reference in a new issue