Jitsi : fix 50_update.sh

This commit is contained in:
Gitouche 2022-01-21 21:50:02 +01:00
parent 2b6eed37e5
commit 2becfb3532
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ ensure_pwd_is_scriptdir
ensure_not_root
ensure_pod_exists ${pod_name}
ensure_systemd_unit_exists ${service_name}
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
case $yn in
Yes)
reinstall_please
reinstall_please && \
cleanup_images
exit 0
;;