From 81d3f56bb600f9a399404da8d764de653f1a0b7c Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Mon, 30 Jun 2025 01:49:16 -0400 Subject: [PATCH] LANG problem for MYSQL found, cleaning code --- support/addconfig.sh | 2 +- support/crdb.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/support/addconfig.sh b/support/addconfig.sh index d80b779..44f4fcb 100755 --- a/support/addconfig.sh +++ b/support/addconfig.sh @@ -1,4 +1,4 @@ -#! /bin/sh +#! /usr/bin/bash #----------------------------------------------------------------- #Shell script to add local information to configuration file #----------------------------------------------------------------- diff --git a/support/crdb.sh b/support/crdb.sh index f16b322..5f41523 100755 --- a/support/crdb.sh +++ b/support/crdb.sh @@ -1,4 +1,4 @@ -#! /bin/sh +#! /usr/bin/bash #------------------------------------------------------------- #$1 working directory #procedure to create the clement data-base the first @@ -67,7 +67,7 @@ case "$DB_TYPE" in ;; "POSTGRESQL" ) SQL="/usr/bin/psql -q" - MSQL="/usr/bin/psql --default-character-set=utf8 -U $APPNAME -q $APPNAME" + MSQL="/usr/bin/psql -U $APPNAME -q $APPNAME" /etc/rc.d/init.d/postgresql status if [ $? != 0 ] ; then echo "Postgresql serveur NOT found up and running (exiting!)" -- 2.47.3