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.0 has been updated
via 262977ef59d3719d85032e387110c3df867b0a4a (commit)
from a8dcae8712243cf0a3f6659199b15fc53498cf13 (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=262977ef59d3719d85032e387110c3df867b0a4a
commit 262977ef59d3719d85032e387110c3df867b0a4a
Author: Roland Mas <[email protected]>
Date: Fri Apr 22 15:46:05 2016 +0200
Fixed bashisms in post-install scripts
diff --git a/src/post-install.d/common/plugin.sh
b/src/post-install.d/common/plugin.sh
index 175b15a..d916db1 100755
--- a/src/post-install.d/common/plugin.sh
+++ b/src/post-install.d/common/plugin.sh
@@ -17,7 +17,7 @@
# with FusionForge; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-source $(forge_get_config source_path)/post-install.d/common/service.inc
+. $(forge_get_config source_path)/post-install.d/common/service.inc
source_path=$(forge_get_config source_path)
config_path=$(forge_get_config config_path)
diff --git a/src/post-install.d/common/service.inc
b/src/post-install.d/common/service.inc
index 7e9fe1d..7012300 100644
--- a/src/post-install.d/common/service.inc
+++ b/src/post-install.d/common/service.inc
@@ -20,7 +20,7 @@
# Debian-specific behavior for Policy Nazis
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789778
if [ -e /etc/debian_version ]; then
- function service {
+ service () {
invoke-rc.d $@
ret=$?
if [ $ret -ne 0 ]; then
diff --git a/src/post-install.d/common/systasksd.sh
b/src/post-install.d/common/systasksd.sh
index d93b3bd..5060f4b 100755
--- a/src/post-install.d/common/systasksd.sh
+++ b/src/post-install.d/common/systasksd.sh
@@ -18,7 +18,7 @@
# with FusionForge; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-source $(forge_get_config source_path)/post-install.d/common/service.inc
+. $(forge_get_config source_path)/post-install.d/common/service.inc
case "$1" in
configure)
diff --git a/src/post-install.d/db/populate.sh
b/src/post-install.d/db/populate.sh
index 7d13d64..58f06a2 100755
--- a/src/post-install.d/db/populate.sh
+++ b/src/post-install.d/db/populate.sh
@@ -18,7 +18,7 @@
# with FusionForge; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-source $(forge_get_config source_path)/post-install.d/common/service.inc
+. $(forge_get_config source_path)/post-install.d/common/service.inc
database_host=$(forge_get_config database_host)
database_port=$(forge_get_config database_port)
diff --git a/src/post-install.d/db/server.sh b/src/post-install.d/db/server.sh
index 43a2346..8e47347 100755
--- a/src/post-install.d/db/server.sh
+++ b/src/post-install.d/db/server.sh
@@ -18,7 +18,7 @@
# with FusionForge; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-source $(forge_get_config source_path)/post-install.d/common/service.inc
+. $(forge_get_config source_path)/post-install.d/common/service.inc
database_name=$(forge_get_config database_name)
database_user=$(forge_get_config database_user)
diff --git a/src/post-install.d/mta-exim4/mta-exim4.sh
b/src/post-install.d/mta-exim4/mta-exim4.sh
index 5562204..5af94ae 100755
--- a/src/post-install.d/mta-exim4/mta-exim4.sh
+++ b/src/post-install.d/mta-exim4/mta-exim4.sh
@@ -22,7 +22,7 @@
set -e
-source $(forge_get_config source_path)/post-install.d/common/service.inc
+. $(forge_get_config source_path)/post-install.d/common/service.inc
####
# Handle the three configuration types (unsplit, split, manual)
diff --git a/src/post-install.d/shell/shell.sh
b/src/post-install.d/shell/shell.sh
index df22f92..d2e977b 100755
--- a/src/post-install.d/shell/shell.sh
+++ b/src/post-install.d/shell/shell.sh
@@ -20,7 +20,7 @@
set -e
-source $(forge_get_config source_path)/post-install.d/common/service.inc
+. $(forge_get_config source_path)/post-install.d/common/service.inc
db_name=$(forge_get_config database_name)
db_user=$(forge_get_config database_user)
diff --git a/src/post-install.d/web/web.sh b/src/post-install.d/web/web.sh
index a6a1629..dfe9797 100755
--- a/src/post-install.d/web/web.sh
+++ b/src/post-install.d/web/web.sh
@@ -18,7 +18,7 @@
# with FusionForge; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-source $(forge_get_config source_path)/post-install.d/common/service.inc
+. $(forge_get_config source_path)/post-install.d/common/service.inc
source_path=$(forge_get_config source_path)
config_path=$(forge_get_config config_path)
-----------------------------------------------------------------------
Summary of changes:
src/post-install.d/common/plugin.sh | 2 +-
src/post-install.d/common/service.inc | 2 +-
src/post-install.d/common/systasksd.sh | 2 +-
src/post-install.d/db/populate.sh | 2 +-
src/post-install.d/db/server.sh | 2 +-
src/post-install.d/mta-exim4/mta-exim4.sh | 2 +-
src/post-install.d/shell/shell.sh | 2 +-
src/post-install.d/web/web.sh | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits