matrix/synapse : incoherences residuelles

This commit is contained in:
Gitouche 2023-05-20 15:59:37 +02:00
parent d10cb82e24
commit 9ae72ed6fc
2 changed files with 4 additions and 3 deletions

View File

@ -15,8 +15,9 @@ if podman volume exists ${confvolume} || 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 exists ${synapse_image}:${synapse_version}; then
podman image pull ${synapse_image}:${synapse_version} || exit 1
fi
podman volume create ${confvolume} &&
podman volume create ${dbvolume} &&
podman container run -it --name ${container_name}-generate --mount type=volume,src=${confvolume},dst=/data -e SYNAPSE_SERVER_NAME=${GARBAYE_MATRIX_DOMAIN} -e SYNAPSE_REPORT_STATS=no ${synapse_image}:${synapse_version} generate &&

View File

@ -20,7 +20,7 @@ if ! podman volume exists ${dbvolume} ; then
exit 1
fi
if ! podman image pull ${synapse_image}:${synapse_version}; then
if ! podman image exists ${synapse_image}:${synapse_version}; then
podman image pull ${synapse_image}:${synapse_version} || exit 1
fi
podman image pull ${postgres_image}:${postgres_version} &&