From 41c98814c2d9180adefe908b59d82a39bb0f7ce5 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Wed, 3 May 2023 18:55:21 +0200 Subject: [PATCH] jitsi : fix verification envvars manquants --- podman-jitsi/10_install.sh | 1 + podman-jitsi/50_update.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/podman-jitsi/10_install.sh b/podman-jitsi/10_install.sh index 1ebf7f6..2533795 100755 --- a/podman-jitsi/10_install.sh +++ b/podman-jitsi/10_install.sh @@ -8,6 +8,7 @@ ensure_pwd_is_scriptdir ensure_not_root ensure_pod_not_exists ${pod_name} +ensure_variables_are_defined "$envvars" if [[ -d ${confvolume} ]]; then echo "Error : conf volume ${confvolume} already exists. Please consider running 80_destroy.sh." diff --git a/podman-jitsi/50_update.sh b/podman-jitsi/50_update.sh index e7e0406..e64ba05 100755 --- a/podman-jitsi/50_update.sh +++ b/podman-jitsi/50_update.sh @@ -9,6 +9,7 @@ ensure_not_root ensure_pod_exists ${pod_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}')