Skip to content
Snippets Groups Projects
Commit 24435fe9 authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[FIX] error if db name contained in db user

parent 57c4f0d4
Loading
...@@ -36,7 +36,7 @@ while true; do ...@@ -36,7 +36,7 @@ while true; do
sleep 1 sleep 1
done done
if ! psql --list 2> /dev/null | grep $PGDATABASE > /dev/null 2>&1; then if ! psql --list --no-align --tuples-only 2> /dev/null | grep ^$PGDATABASE\| > /dev/null 2>&1; then
echo "Database $PGDATABASE does not exist" echo "Database $PGDATABASE does not exist"
DB_ARGS+=("--load-language") DB_ARGS+=("--load-language")
DB_ARGS+=("fr_FR") DB_ARGS+=("fr_FR")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment