podman-jitsi : add checks
This commit is contained in:
parent
8fc197d88b
commit
9ff5469788
|
@ -8,7 +8,7 @@ ensure_pwd_is_scriptdir
|
|||
ensure_not_root
|
||||
|
||||
if [[ -d ${confvolume} ]]; then
|
||||
echo Error : conf volume already exists. Please remove it first (prune?).
|
||||
echo Error : conf volume ${confvolume} already exists. Please remove it first (prune?).
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
@ -7,6 +7,11 @@ source ${ABSDIR}/vars.sh
|
|||
ensure_pwd_is_scriptdir
|
||||
ensure_not_root
|
||||
|
||||
if [[ ! -d ${confvolume} ]]; then
|
||||
echo Error : conf volume ${confvolume} does not exists. Consider running 05_freshinstall.sh if this is the first install.
|
||||
exit 1
|
||||
fi
|
||||
|
||||
curl -s -- "https://codeload.github.com/jitsi/docker-jitsi-meet/tar.gz/refs/tags/${version}" | tar xzv --strip-components 1 docker-jitsi-meet-${version}/docker-compose.yml docker-jitsi-meet-${version}/env.example docker-jitsi-meet-${version}/gen-passwords.sh
|
||||
cp env.example .env
|
||||
./gen-passwords.sh
|
||||
|
|
Loading…
Reference in a new issue