diff --git a/recipes/base/common.sh b/recipes/base/common.sh index 70546ae..050bd5e 100644 --- a/recipes/base/common.sh +++ b/recipes/base/common.sh @@ -5,7 +5,7 @@ function check_db_maria_exists() { } function check_db_postgres_exists() { - db-psql list | grep -q "$1" + db-psql list | grep -q "^$1$" } function extract_domain_from_fqdn() { diff --git a/scripts/miaou b/scripts/miaou index 0132443..98c37b5 100755 --- a/scripts/miaou +++ b/scripts/miaou @@ -468,9 +468,7 @@ function prepare_containers() { service="${item[$j]}" recipe_install="$MIAOU_BASEDIR/recipes/$service/install.sh" if [[ -f "$recipe_install" ]]; then - echowarn "container <$container> installing new recipe [$service]..." "$recipe_install" "$container" - echoinfo DONE else echoerr "FAILURE, for container <$container>, install recipe [$service] not found!" echoerr "please review configuration, mismatch recipe name maybe?"