jitsi : fix verification envvars manquants

This commit is contained in:
Gitouche 2023-05-03 18:55:21 +02:00
parent 3409b07e3a
commit 41c98814c2
2 changed files with 2 additions and 0 deletions

View file

@ -8,6 +8,7 @@ ensure_pwd_is_scriptdir
ensure_not_root ensure_not_root
ensure_pod_not_exists ${pod_name} ensure_pod_not_exists ${pod_name}
ensure_variables_are_defined "$envvars"
if [[ -d ${confvolume} ]]; then if [[ -d ${confvolume} ]]; then
echo "Error : conf volume ${confvolume} already exists. Please consider running 80_destroy.sh." echo "Error : conf volume ${confvolume} already exists. Please consider running 80_destroy.sh."

View file

@ -9,6 +9,7 @@ ensure_not_root
ensure_pod_exists ${pod_name} ensure_pod_exists ${pod_name}
ensure_systemd_unit_exists ${service_name} ensure_systemd_unit_exists ${service_name}
ensure_variables_are_defined "$envvars"
current_version=$(podman container list -a --format "{{.Image}}" | grep prosody | awk -F: '{print $NF}') current_version=$(podman container list -a --format "{{.Image}}" | grep prosody | awk -F: '{print $NF}')