This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, Branch_5_3 has been updated
via 7ca9e4fb23165fe711f0e1c0afb95997465d84e2 (commit)
from dbcf1187bf3a9ac1169bbdd482c446f453ade234 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7ca9e4fb23165fe711f0e1c0afb95997465d84e2
Author: Roland Mas <[email protected]>
Date: Wed May 28 17:49:08 2014 +0200
Allow replacing strings in one file only at install time
diff --git a/src/utils/manage-apache-config.sh
b/src/utils/manage-apache-config.sh
index 40be45d..2a4dab7 100755
--- a/src/utils/manage-apache-config.sh
+++ b/src/utils/manage-apache-config.sh
@@ -135,7 +135,11 @@ EOF
dir=$(forge_get_config config_path)/httpd.conf.d
[ -e $dir ] || mkdir -p $dir
cd $dir
- files=$(ls *.inc *.conf | xargs grep -l {[a-z_]*/[a-z_]*})
+ if [ "$2" = "" ] ; then
+ files=$(ls *.inc *.conf | xargs grep -l {[a-z_]*/[a-z_]*})
+ else
+ files=$2
+ fi
vars=$(forge_get_config list-all-variables)
if [ $BASH_VERSINFO -ge 4 ] ; then
# Use associative array if available
-----------------------------------------------------------------------
Summary of changes:
src/utils/manage-apache-config.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits