Browse Source

fix cagettepei

main
pvincent 1 month ago
parent
commit
674a2af592
  1. 2
      recipes/base/common.sh
  2. 2
      scripts/miaou

2
recipes/base/common.sh

@ -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
scripts/miaou

@ -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?"

Loading…
Cancel
Save