Skip to content
Snippets Groups Projects
Commit ba53455b authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'detect-rootless-docker' into 'master'

usre DB_ADD to check db containe

See merge request !22
parents 54d6fb6b 353f60b6
Branches
No related tags found
1 merge request!22usre DB_ADD to check db containe
......@@ -104,7 +104,7 @@ function _getStatus_docker(){
grep -q "${APP_NAME}-server" <<< "$_out" && DC_WEB_UP=1
grep -q "${APP_NAME}-db" <<< "$_out" && DC_DB_UP=1
if [ $DC_DB_UP -eq 1 ] && [ ! -d "${DC_DUMP_DIR}" ]; then
if [ "$DB_ADD" != "false" ] && [ ! -d "${DC_DUMP_DIR}" ]; then
echo "INFO: creating subdir ${DC_DUMP_DIR} to import/ export databases ..."
mkdir "${DC_DUMP_DIR}" || exit 1
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment