jitsi : 50_update, meme logique que 10_install pour pull les images uniquement si elle ne sont pas disponibles en local
This commit is contained in:
parent
193f38b787
commit
8f6637c1fc
|
@ -14,7 +14,9 @@ current_version=$(podman ps -a --format "{{.Image}}" | grep prosody | awk -F: '{
|
|||
|
||||
reinstall_please () {
|
||||
for image in ${upstream_images}; do
|
||||
podman image pull ${image}:${version} || exit 1
|
||||
if ! podman image exists ${image}:${version}; then
|
||||
podman image pull ${image}:${version} || exit 1
|
||||
fi
|
||||
done &&
|
||||
check_pod_running ${pod_name} && ./40_stop.sh
|
||||
./70_disable.sh && \
|
||||
|
|
Loading…
Reference in a new issue