[Fusionforge-commits] FusionForge branch master updated. 2220589f24c849b6dab1245fc5d130b959287f57

Sylvain Beucler beuc-inria at fusionforge.org
Tue Sep 9 15:38:58 CEST 2014


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, master has been updated
       via  2220589f24c849b6dab1245fc5d130b959287f57 (commit)
      from  ac47be133785d16a2f5b5ff4e43d59b49f7e98c1 (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 2220589f24c849b6dab1245fc5d130b959287f57
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Tue Sep 9 15:38:55 2014 +0200

    post-install: shell: branding

diff --git a/src/post-install.d/shell/shell.sh b/src/post-install.d/shell/shell.sh
index d90d615..19bcf2b 100755
--- a/src/post-install.d/shell/shell.sh
+++ b/src/post-install.d/shell/shell.sh
@@ -84,21 +84,21 @@ purge_libnss_pgsql(){
 configure_nsswitch()
 {
     if ! grep -q '^passwd:.*pgsql' /etc/nsswitch.conf ; then
-	perl -pi -e "s/^(passwd:[^#\n]*)([^\n]*)/\1 pgsql \2#Added by GForge install\n#Comment by GForge install#\1\2/gs" /etc/nsswitch.conf
+	perl -pi -e "s/^(passwd:[^#\n]*)([^\n]*)/\1 pgsql \2#Added by FusionForge install\n#Comment by FusionForge install#\1\2/gs" /etc/nsswitch.conf
     fi
     if ! grep -q '^group:.*pgsql' /etc/nsswitch.conf ; then
-	perl -pi -e "s/^(group:[^#\n]*)([^\n]*)/\1 pgsql \2#Added by GForge install\n#Comment by GForge install#\1\2/gs" /etc/nsswitch.conf
+	perl -pi -e "s/^(group:[^#\n]*)([^\n]*)/\1 pgsql \2#Added by FusionForge install\n#Comment by FusionForge install#\1\2/gs" /etc/nsswitch.conf
     fi
     if ! grep -q '^shadow:.*pgsql' /etc/nsswitch.conf ; then
-	perl -pi -e "s/^(shadow:[^#\n]*)([^\n]*)/\1 pgsql \2#Added by GForge install\n#Comment by GForge install#\1\2/gs" /etc/nsswitch.conf
+	perl -pi -e "s/^(shadow:[^#\n]*)([^\n]*)/\1 pgsql \2#Added by FusionForge install\n#Comment by FusionForge install#\1\2/gs" /etc/nsswitch.conf
     fi
 }
 
 # Revert /etc/nsswitch.conf
 remove_nsswitch()
 {
-    sed -i -e '/^.*#Added by GForge install/d' /etc/nsswitch.conf
-    sed -i -e 's/#Comment by GForge install#//' /etc/nsswitch.conf
+    sed -i -e '/^.*#Added by FusionForge install/d' /etc/nsswitch.conf
+    sed -i -e 's/#Comment by FusionForge install#//' /etc/nsswitch.conf
 }
 
 configure_nscd()

-----------------------------------------------------------------------

Summary of changes:
 src/post-install.d/shell/shell.sh |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list