1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-07-26 23:21:10 +03:00

"!...=" != "!="

This commit is contained in:
Justin Garrison
2015-02-19 22:37:53 -08:00
parent 5950846753
commit 796f3f151e
7 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
: ${POSTGRES_USER:=postgres}
: ${POSTGRES_DB:=$POSTGRES_USER}
if [ ! "$POSTGRES_DB" = 'postgres' ]; then
if [ "$POSTGRES_DB" != 'postgres' ]; then
gosu postgres postgres --single -jE <<-EOSQL
CREATE DATABASE "$POSTGRES_DB" ;
EOSQL

View File

@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
: ${POSTGRES_USER:=postgres}
: ${POSTGRES_DB:=$POSTGRES_USER}
if [ ! "$POSTGRES_DB" = 'postgres' ]; then
if [ "$POSTGRES_DB" != 'postgres' ]; then
gosu postgres postgres --single -jE <<-EOSQL
CREATE DATABASE "$POSTGRES_DB" ;
EOSQL

View File

@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
: ${POSTGRES_USER:=postgres}
: ${POSTGRES_DB:=$POSTGRES_USER}
if [ ! "$POSTGRES_DB" = 'postgres' ]; then
if [ "$POSTGRES_DB" != 'postgres' ]; then
gosu postgres postgres --single -jE <<-EOSQL
CREATE DATABASE "$POSTGRES_DB" ;
EOSQL

View File

@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
: ${POSTGRES_USER:=postgres}
: ${POSTGRES_DB:=$POSTGRES_USER}
if [ ! "$POSTGRES_DB" = 'postgres' ]; then
if [ "$POSTGRES_DB" != 'postgres' ]; then
gosu postgres postgres --single -jE <<-EOSQL
CREATE DATABASE "$POSTGRES_DB" ;
EOSQL

View File

@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
: ${POSTGRES_USER:=postgres}
: ${POSTGRES_DB:=$POSTGRES_USER}
if [ ! "$POSTGRES_DB" = 'postgres' ]; then
if [ "$POSTGRES_DB" != 'postgres' ]; then
gosu postgres postgres --single -jE <<-EOSQL
CREATE DATABASE "$POSTGRES_DB" ;
EOSQL

View File

@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
: ${POSTGRES_USER:=postgres}
: ${POSTGRES_DB:=$POSTGRES_USER}
if [ ! "$POSTGRES_DB" = 'postgres' ]; then
if [ "$POSTGRES_DB" != 'postgres' ]; then
gosu postgres postgres --single -jE <<-EOSQL
CREATE DATABASE "$POSTGRES_DB" ;
EOSQL

View File

@ -31,7 +31,7 @@ if [ "$1" = 'postgres' ]; then
: ${POSTGRES_USER:=postgres}
: ${POSTGRES_DB:=$POSTGRES_USER}
if [ ! "$POSTGRES_DB" = 'postgres' ]; then
if [ "$POSTGRES_DB" != 'postgres' ]; then
gosu postgres postgres --single -jE <<-EOSQL
CREATE DATABASE "$POSTGRES_DB" ;
EOSQL