1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-11-17 13:02:40 +03:00

missed variable in 9.1 entrypoint.sh

This commit is contained in:
Justin Garrison
2015-02-13 09:44:07 -08:00
parent 80fa682789
commit 167c2ae963

View File

@@ -30,7 +30,7 @@ if [ "$1" = 'postgres' ]; then
: ${POSTGRES_USER:=postgres} : ${POSTGRES_USER:=postgres}
: ${POSTGRES_DB:=$POSTGRES_USER} : ${POSTGRES_DB:=$POSTGRES_USER}
if [ "$POSTGRES_USER" = 'postgres' ]; then if [ "$POSTGRES_DB" = 'postgres' ]; then
op='ALTER' op='ALTER'
else else
op='CREATE' op='CREATE'