Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: commits

[8212] If an `httpd.conf` directive doesn't exist, add it!

 

 

Bricolage commits RSS feed   Index | Next | Previous | View Threaded


theory at bricolage

Apr 30, 2008, 10:18 AM

Post #1 of 1 (104 views)
Permalink
[8212] If an `httpd.conf` directive doesn't exist, add it!

Revision: 8212
Author: theory
Date: 2008-04-30 10:18:10 -0700 (Wed, 30 Apr 2008)
ViewCVS: http://viewsvn.bricolage.cc/?rev=8212&view=rev

Log Message:
-----------
If an `httpd.conf` directive doesn't exist, add it!

Modified Paths:
--------------
bricolage/trunk/inst/conf.pl

Modified: bricolage/trunk/inst/conf.pl
===================================================================
--- bricolage/trunk/inst/conf.pl 2008-04-30 16:28:50 UTC (rev 8211)
+++ bricolage/trunk/inst/conf.pl 2008-04-30 17:18:10 UTC (rev 8212)
@@ -122,7 +122,7 @@
my ($conf, $var, $val) = @_;
return unless defined $val and $val ne '';
unless ($$conf =~ s/^(\s*)#?(\s*$var\s+=\s*).*$/$1$2$val/mi) {
- hard_fail("Unable to set bricolage.conf variable $var to \"$val\".");
+ $$conf .= "$var = $val\n";
}
}

Bricolage commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.