fix for create_postgresql_tbl grep so it stops throwing a failure
This commit is contained in:
parent
8e1a52566f
commit
43010e1bd2
@ -242,7 +242,7 @@ create_postgresql_tbl(){
|
|||||||
CREATEDB="createdb $CONNECTION_PARAMS"
|
CREATEDB="createdb $CONNECTION_PARAMS"
|
||||||
|
|
||||||
# Create db on remote server
|
# Create db on remote server
|
||||||
if $PSQL -lt | cut -d\| -f 1 | grep -qw | grep 0; then
|
if $PSQL -lt | cut -d\| -f 1 | grep -qw $POSTGRESQL_SERVER_DB_NAME | grep 0; then
|
||||||
$CREATEDB $POSTGRESQL_SERVER_DB_NAME
|
$CREATEDB $POSTGRESQL_SERVER_DB_NAME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user