[csw-devel] SF.net SVN: gar:[11685] csw/mgar/pkg/apache2/branches/fs-rework/files/ build_cas_template

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Nov 22 03:22:33 CET 2010


Revision: 11685
          http://gar.svn.sourceforge.net/gar/?rev=11685&view=rev
Author:   bdwalton
Date:     2010-11-22 02:22:33 +0000 (Mon, 22 Nov 2010)

Log Message:
-----------
apache2/fs-rework: modify old config files to adhere to new etc location

Modified Paths:
--------------
    csw/mgar/pkg/apache2/branches/fs-rework/files/build_cas_template

Modified: csw/mgar/pkg/apache2/branches/fs-rework/files/build_cas_template
===================================================================
--- csw/mgar/pkg/apache2/branches/fs-rework/files/build_cas_template	2010-11-22 01:59:23 UTC (rev 11684)
+++ csw/mgar/pkg/apache2/branches/fs-rework/files/build_cas_template	2010-11-22 02:22:33 UTC (rev 11685)
@@ -23,6 +23,10 @@
          echo "Updating the syntax to 2.2 format though..." >&2
          \${PIR}/\$AP2_DIR/sbin/update20to22 \$NEW_CONF_FILE >&2
       fi
+
+      # ensure we use the config files from the new location 
+      perl -pi \
+         -e "s/etc\//\/etc\/opt\/csw\/apache2\//" \$NEW_CONF_FILE
    else
       # so, we're not an existing or 'needs migration' install, we must
       # install from the templates.


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list