From 8fc197d88b7aa62ef37bc0dee3dc5d56484920d9 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Sun, 6 Jun 2021 14:11:30 +0200 Subject: [PATCH] podman-jitsi : add check for freshinstall --- podman-jitsi/05_freshinstall.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/podman-jitsi/05_freshinstall.sh b/podman-jitsi/05_freshinstall.sh index 8ab4f87..50033ee 100755 --- a/podman-jitsi/05_freshinstall.sh +++ b/podman-jitsi/05_freshinstall.sh @@ -7,6 +7,11 @@ source ${ABSDIR}/vars.sh ensure_pwd_is_scriptdir ensure_not_root +if [[ -d ${confvolume} ]]; then + echo Error : conf volume already exists. Please remove it first (prune?). + exit 1 +fi + mkdir -p ${confvolume}/{web/letsencrypt,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri} ${ABSDIR}/10_install.sh