[csw-devel] SF.net SVN: gar:[11618] csw/mgar/pkg/apache2/trunk/files/build_cas_template

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Nov 15 03:13:32 CET 2010


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

Log Message:
-----------
apache2: drive update20to22 in the build CAS templates so it can be removed from the postinstall

Modified Paths:
--------------
    csw/mgar/pkg/apache2/trunk/files/build_cas_template

Modified: csw/mgar/pkg/apache2/trunk/files/build_cas_template
===================================================================
--- csw/mgar/pkg/apache2/trunk/files/build_cas_template	2010-11-15 02:10:14 UTC (rev 11617)
+++ csw/mgar/pkg/apache2/trunk/files/build_cas_template	2010-11-15 02:13:32 UTC (rev 11618)
@@ -26,6 +26,10 @@
       chmod 644 \$CONF_FILE
    else
       echo "Not updating \$CONF_FILE.  It already exists."
+      if [ -n "`grep mod_auth.so \$CONF_FILE`" ]; then
+         echo "Updating the syntax to 2.2 format though..."
+         \${PIR}/\$AP2_DIR/sbin/update20to22 \$CONF_FILE
+      fi
    fi
 else
    # preserve ourselves with no changes


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