diff --git a/Formula/lighttpd.rb b/Formula/lighttpd.rb index 2ec5483c99..63145f8a65 100644 --- a/Formula/lighttpd.rb +++ b/Formula/lighttpd.rb @@ -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}\"")