9 lines
222 B
Plaintext
9 lines
222 B
Plaintext
|
#!/usr/bin/with-contenv sh
|
||
|
|
||
|
#PGPASSWORD=$DBPASSWORD psql -h $DBHOST -U $DBUSER -d $DBNAME -c "SELECT EXISTS (SELECT 1 FROM information_schema.tables WHERE table_name = 'nc_appconfig')" | grep f
|
||
|
|
||
|
if [ $? -ne 1 ]; then
|
||
|
|
||
|
fi
|
||
|
|