]> SAFE projects GIT repository - jmp/mailleur/commitdiff
LANG problem for MYSQL found, cleaning code
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 30 Jun 2025 05:49:16 +0000 (01:49 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 30 Jun 2025 05:49:16 +0000 (01:49 -0400)
support/addconfig.sh
support/crdb.sh

index d80b7796d0023ab38a55f48b6080a044175b855f..44f4fcbab96361362d32a5290a2ae552e29ba830 100755 (executable)
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /usr/bin/bash
 #-----------------------------------------------------------------
 #Shell script to add local information to configuration file
 #-----------------------------------------------------------------
index f16b322c0c7ce74a74c711238e0a05df280e40d9..5f415234e9f933c70190384b28049ced0bf920f2 100755 (executable)
@@ -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!)"