From 662ec75f26d3b40c61f67d37511afe10226f5b60 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Sun, 13 Nov 2022 14:08:31 +0100 Subject: [PATCH] dontpull : matrix/synapse --- podman-matrix/10_install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/podman-matrix/10_install.sh b/podman-matrix/10_install.sh index 5d041d5..3b67a32 100755 --- a/podman-matrix/10_install.sh +++ b/podman-matrix/10_install.sh @@ -20,8 +20,9 @@ if ! podman volume exists ${dbvolume} ; then exit 1 fi -podman image pull ${synapse_image}:${synapse_version} && -podman image exists ${synapse_image}:${synapse_version} && +if ! podman image pull ${synapse_image}:${synapse_version}; then + podman image pull ${synapse_image}:${synapse_version} || exit 1 +fi podman pull ${postgres_image}:${postgres_version} && podman network create ${project_name}_default && podman pod create --name ${pod_name} --infra=true --infra-name=${project_name}_infra --share='' &&