podman-jitsi : add check for freshinstall

This commit is contained in:
Gitouche 2021-06-06 14:11:30 +02:00
parent 0a6d5dc74c
commit 8fc197d88b

View file

@ -7,6 +7,11 @@ source ${ABSDIR}/vars.sh
ensure_pwd_is_scriptdir ensure_pwd_is_scriptdir
ensure_not_root 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} mkdir -p ${confvolume}/{web/letsencrypt,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri}
${ABSDIR}/10_install.sh ${ABSDIR}/10_install.sh