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, 6.1 has been updated
via 0eef4a8b26727ed4d86fee33cbf17c6e2f78a54c (commit)
from 5de6015b4c0b5747ab21358b579b0f30832fd2fc (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=0eef4a8b26727ed4d86fee33cbf17c6e2f78a54c
commit 0eef4a8b26727ed4d86fee33cbf17c6e2f78a54c
Author: Franck Villaume <[email protected]>
Date: Thu Aug 23 09:27:05 2018 +0000
add missing space
diff --git a/src/post-install.d/db/populate.sh
b/src/post-install.d/db/populate.sh
index 9e37ddb..1ae6f2b 100755
--- a/src/post-install.d/db/populate.sh
+++ b/src/post-install.d/db/populate.sh
@@ -1,4 +1,5 @@
#!/bin/bash -e
+set -x
# Create user and database, and import initial data
#
# Copyright (C) 2014, 2015 Inria (Sylvain Beucler)
@@ -75,7 +76,7 @@ CREATE EXTENSION IF NOT EXISTS unaccent;
EOF
# Database init
-if !$PSQL_WITH_OPTS -c 'SELECT COUNT(*) FROM users;' >/dev/null 2>&1; then
+if ! $PSQL_WITH_OPTS -c 'SELECT COUNT(*) FROM users;' >/dev/null 2>&1; then
echo "Importing initial database..."
$PSQL_WITH_OPTS < $source_path/db/1-fusionforge-init.sql >/dev/null
fi
-----------------------------------------------------------------------
Summary of changes:
src/post-install.d/db/populate.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits