Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Commit

Permalink
Changed the check for inclusion of the vhosts to be more sane.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Jun 23, 2008
1 parent 49a9d30 commit e8cbc45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config_installer.rb
Expand Up @@ -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 << %{
Expand Down

0 comments on commit e8cbc45

Please sign in to comment.