From 0513cefac84d289fd60cb64e661dca77b9ccedba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Sun, 4 Jul 2021 15:55:46 +0200 Subject: [PATCH] Correction d'un type de fichier --- podman-matrix/05_freshinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman-matrix/05_freshinstall.sh b/podman-matrix/05_freshinstall.sh index 1fff3e0..e101023 100755 --- a/podman-matrix/05_freshinstall.sh +++ b/podman-matrix/05_freshinstall.sh @@ -16,7 +16,7 @@ fi if [[ ! -d ~/.local/share/containers/storage/volumes/${dbvolume} ]]; then podman volume create matrixdotorg_synapse-pgsql fi -if [[ ! -d `podman volume inspect --format '{{ .Mountpoint }}' matrixdotorg_synapse-data`/homeserver.yaml ]]; then +if [[ ! -f `podman volume inspect --format '{{ .Mountpoint }}' matrixdotorg_synapse-data`/homeserver.yaml ]]; then podman run -it --name ${container_name}-generate --mount type=volume,src=matrixdotorg_synapse-data,dst=/data -e SYNAPSE_SERVER_NAME=garbaye.fr -e SYNAPSE_REPORT_STATS=no ${synapse_image}:${synapse_version} generate && \ podman rm ${container_name}-generate fi