File tree 7 files changed +7
-7
lines changed
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
31
31
: ${POSTGRES_USER:= postgres}
32
32
: ${POSTGRES_DB:= $POSTGRES_USER }
33
33
34
- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34
+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
35
35
gosu postgres postgres --single -jE << -EOSQL
36
36
CREATE DATABASE "$POSTGRES_DB " ;
37
37
EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
31
31
: ${POSTGRES_USER:= postgres}
32
32
: ${POSTGRES_DB:= $POSTGRES_USER }
33
33
34
- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34
+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
35
35
gosu postgres postgres --single -jE << -EOSQL
36
36
CREATE DATABASE "$POSTGRES_DB " ;
37
37
EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
31
31
: ${POSTGRES_USER:= postgres}
32
32
: ${POSTGRES_DB:= $POSTGRES_USER }
33
33
34
- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34
+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
35
35
gosu postgres postgres --single -jE << -EOSQL
36
36
CREATE DATABASE "$POSTGRES_DB " ;
37
37
EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
31
31
: ${POSTGRES_USER:= postgres}
32
32
: ${POSTGRES_DB:= $POSTGRES_USER }
33
33
34
- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34
+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
35
35
gosu postgres postgres --single -jE << -EOSQL
36
36
CREATE DATABASE "$POSTGRES_DB " ;
37
37
EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
31
31
: ${POSTGRES_USER:= postgres}
32
32
: ${POSTGRES_DB:= $POSTGRES_USER }
33
33
34
- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34
+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
35
35
gosu postgres postgres --single -jE << -EOSQL
36
36
CREATE DATABASE "$POSTGRES_DB " ;
37
37
EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
31
31
: ${POSTGRES_USER:= postgres}
32
32
: ${POSTGRES_DB:= $POSTGRES_USER }
33
33
34
- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34
+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
35
35
gosu postgres postgres --single -jE << -EOSQL
36
36
CREATE DATABASE "$POSTGRES_DB " ;
37
37
EOSQL
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
31
31
: ${POSTGRES_USER:= postgres}
32
32
: ${POSTGRES_DB:= $POSTGRES_USER }
33
33
34
- if [ ! " $POSTGRES_DB " = ' postgres' ]; then
34
+ if [ " $POSTGRES_DB " ! = ' postgres' ]; then
35
35
gosu postgres postgres --single -jE << -EOSQL
36
36
CREATE DATABASE "$POSTGRES_DB " ;
37
37
EOSQL
You can’t perform that action at this time.
0 commit comments