fix cagettepei

This commit is contained in:
pvincent
2024-10-14 13:11:37 +04:00
parent ceb3a7b467
commit 674a2af592
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ function check_db_maria_exists() {
} }
function check_db_postgres_exists() { function check_db_postgres_exists() {
db-psql list | grep -q "$1" db-psql list | grep -q "^$1$"
} }
function extract_domain_from_fqdn() { function extract_domain_from_fqdn() {
-2
View File
@@ -468,9 +468,7 @@ function prepare_containers() {
service="${item[$j]}" service="${item[$j]}"
recipe_install="$MIAOU_BASEDIR/recipes/$service/install.sh" recipe_install="$MIAOU_BASEDIR/recipes/$service/install.sh"
if [[ -f "$recipe_install" ]]; then if [[ -f "$recipe_install" ]]; then
echowarn "container <$container> installing new recipe [$service]..."
"$recipe_install" "$container" "$recipe_install" "$container"
echoinfo DONE
else else
echoerr "FAILURE, for container <$container>, install recipe [$service] not found!" echoerr "FAILURE, for container <$container>, install recipe [$service] not found!"
echoerr "please review configuration, mismatch recipe name maybe?" echoerr "please review configuration, mismatch recipe name maybe?"