From e8cbc459a2f4e431fffb01c25fd74b38af4a709d Mon Sep 17 00:00:00 2001 From: Eloy Duran Date: Mon, 23 Jun 2008 14:55:26 +0200 Subject: [PATCH] Changed the check for inclusion of the vhosts to be more sane. --- config_installer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_installer.rb b/config_installer.rb index 686a4b2..99db9fc 100755 --- a/config_installer.rb +++ b/config_installer.rb @@ -36,7 +36,7 @@ def verify_vhost_conf CONF = "/private/etc/apache2/httpd.conf" def verify_httpd_conf - unless File.read(CONF).include? 'Added by the Passenger preferences pane' + unless File.read(CONF).include? 'Include /private/etc/apache2/passenger_pane_vhosts/*.conf' OSX::NSLog("Will try to append passenger pane vhosts conf to: #{CONF}") File.open(CONF, 'a') do |f| f << %{