From: Jean-Marc Pigeon (Delson) Date: Mon, 30 Jun 2025 05:49:16 +0000 (-0400) Subject: LANG problem for MYSQL found, cleaning code X-Git-Tag: tag-0.11~5 X-Git-Url: https://jmp-git.ovh.safe.ca/?a=commitdiff_plain;h=81d3f56bb600f9a399404da8d764de653f1a0b7c;p=jmp%2Fmailleur LANG problem for MYSQL found, cleaning code --- 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!)"