File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
3131 : ${POSTGRES_USER:= postgres}
3232 : ${POSTGRES_DB:= $POSTGRES_USER }
3333
34- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
3535 gosu postgres postgres --single -jE << -EOSQL
3636 CREATE DATABASE "$POSTGRES_DB " ;
3737 EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
3131 : ${POSTGRES_USER:= postgres}
3232 : ${POSTGRES_DB:= $POSTGRES_USER }
3333
34- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
3535 gosu postgres postgres --single -jE << -EOSQL
3636 CREATE DATABASE "$POSTGRES_DB " ;
3737 EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
3131 : ${POSTGRES_USER:= postgres}
3232 : ${POSTGRES_DB:= $POSTGRES_USER }
3333
34- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
3535 gosu postgres postgres --single -jE << -EOSQL
3636 CREATE DATABASE "$POSTGRES_DB " ;
3737 EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
3131 : ${POSTGRES_USER:= postgres}
3232 : ${POSTGRES_DB:= $POSTGRES_USER }
3333
34- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
3535 gosu postgres postgres --single -jE << -EOSQL
3636 CREATE DATABASE "$POSTGRES_DB " ;
3737 EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
3131 : ${POSTGRES_USER:= postgres}
3232 : ${POSTGRES_DB:= $POSTGRES_USER }
3333
34- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
3535 gosu postgres postgres --single -jE << -EOSQL
3636 CREATE DATABASE "$POSTGRES_DB " ;
3737 EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
3131 : ${POSTGRES_USER:= postgres}
3232 : ${POSTGRES_DB:= $POSTGRES_USER }
3333
34- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
3535 gosu postgres postgres --single -jE << -EOSQL
3636 CREATE DATABASE "$POSTGRES_DB " ;
3737 EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
3131 : ${POSTGRES_USER:= postgres}
3232 : ${POSTGRES_DB:= $POSTGRES_USER }
3333
34- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
3535 gosu postgres postgres --single -jE << -EOSQL
3636 CREATE DATABASE "$POSTGRES_DB " ;
3737 EOSQL
You can’t perform that action at this time.
0 commit comments