|
@ -75,7 +75,7 @@ if [ -z "$dbname" ]; then |
|
|
postgres_config=$(cat "$relation_file"/data) || exit 2 |
|
|
postgres_config=$(cat "$relation_file"/data) || exit 2 |
|
|
|
|
|
|
|
|
dbname="$(e "$postgres_config" | shyaml get-value dbname)" || { |
|
|
dbname="$(e "$postgres_config" | shyaml get-value dbname)" || { |
|
|
err "Couldn't retrieve information of ${DARKCYAN}mysql-database${NORMAL}'s relation." |
|
|
|
|
|
|
|
|
err "Couldn't retrieve information of ${DARKCYAN}postgres-database${NORMAL}'s relation." |
|
|
exit 1 |
|
|
exit 1 |
|
|
} |
|
|
} |
|
|
fi |
|
|
fi |
|
|