podman-jitsi : add check for freshinstall

This commit is contained in:
Gitouche 2021-06-06 14:11:30 +02:00
parent 0a6d5dc74c
commit 8fc197d88b
1 changed files with 5 additions and 0 deletions

View File

@ -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