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='' &&