[Webapps-common-discuss] [commit] r135 - webapps-common/trunk/debian

sgran at alioth.debian.org sgran at alioth.debian.org
Fri Sep 7 15:36:57 UTC 2007


Author: sgran
Date: 2007-09-07 15:36:57 +0000 (Fri, 07 Sep 2007)
New Revision: 135

Modified:
   webapps-common/trunk/debian/changelog
   webapps-common/trunk/debian/webapps-common.postinst
Log:
fix sed in postinst

Modified: webapps-common/trunk/debian/changelog
===================================================================
--- webapps-common/trunk/debian/changelog	2007-09-07 15:36:29 UTC (rev 134)
+++ webapps-common/trunk/debian/changelog	2007-09-07 15:36:57 UTC (rev 135)
@@ -18,8 +18,9 @@
 
   [ Stephen Gran ]
   * ucf purge config files on purge
+  * fix sed statement in postinst
 
- -- Stephen Gran <sgran at debian.org>  Fri,  7 Sep 2007 11:35:44 -0400
+ -- Stephen Gran <sgran at debian.org>  Fri,  7 Sep 2007 11:36:29 -0400
 
 webapps-common (0.7) UNRELEASED; urgency=low
 

Modified: webapps-common/trunk/debian/webapps-common.postinst
===================================================================
--- webapps-common/trunk/debian/webapps-common.postinst	2007-09-07 15:36:29 UTC (rev 134)
+++ webapps-common/trunk/debian/webapps-common.postinst	2007-09-07 15:36:57 UTC (rev 135)
@@ -14,7 +14,7 @@
 
 	tfile=`mktemp -t`
 	for httpd in apache apache2 apache-ssl apache-perl; do
-		sed -e "s,HTTPD,$httpd,g" < ${template_dir}/apache-global.conf > $tfile
+		sed -e "s,_WC_HTTPD_,$httpd,g" < ${template_dir}/apache-global.conf > $tfile
 		ucf $tfile /etc/$httpd/conf.d/webapps-common.conf
 		# XXX should probably respect permissions here
 		chown root:www-data /etc/$httpd/conf.d/webapps-common.conf




More information about the Webapps-common-discuss mailing list