Jitsi : fix 50_update.sh

This commit is contained in:
Gitouche 2022-01-21 21:50:02 +01:00
parent 2b6eed37e5
commit 2becfb3532

View file

@ -8,6 +8,7 @@ ensure_pwd_is_scriptdir
ensure_not_root ensure_not_root
ensure_pod_exists ${pod_name} ensure_pod_exists ${pod_name}
ensure_systemd_unit_exists ${service_name}
current_version=$(podman ps -a --format "{{.Image}}" | grep prosody | awk -F: '{print $NF}') current_version=$(podman ps -a --format "{{.Image}}" | grep prosody | awk -F: '{print $NF}')
@ -49,7 +50,7 @@ if [ ${current_version} != ${version} ]; then
select yn in "Yes" "No"; do select yn in "Yes" "No"; do
case $yn in case $yn in
Yes) Yes)
reinstall_please reinstall_please && \
cleanup_images cleanup_images
exit 0 exit 0
;; ;;