Skip to content
Snippets Groups Projects
Commit 8af5b364 authored by jurgenhaas's avatar jurgenhaas
Browse files

#1 Testing

parent f901fea9
No related branches found
No related tags found
No related merge requests found
......@@ -67,8 +67,8 @@ stages:
if [[ ! -n ${ID} ]]; then
DBREQUIRED="yes"
else
TABLES=$(docker exec ${COMPOSE_PROJECT_NAME}_mariadb_1 mysql -u drupal --password=drupal -e "show tables;" drupal 2>/dev/null|grep users)
if [[ ! -n ${TABLES} ]]; then
TABLES=$(docker exec -i ${COMPOSE_PROJECT_NAME}_mariadb_1 mysql -u drupal --password=drupal -e "show tables;" drupal)
if [[ "${TABLES}" != *"users_data"* ]]; then
DBREQUIRED="yes"
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment