generalisation podman volume exists (2)

This commit is contained in:
Gitouche 2022-01-28 14:21:27 +01:00
parent f8d51e49e7
commit e9b1fe260f

View file

@ -9,12 +9,12 @@ ensure_not_root
ensure_variables_are_defined "$envvars"
if [[ ! podman volume exists ${confvolume} ]]; then
if ! podman volume exists ${confvolume} ; then
echo "Error : conf volume ${confvolume} does not exists. Consider running 05_freshinstall.sh if this is the first install."
exit 1
fi
if [[ ! podman volume exists ${dbvolume} ]]; then
if ! podman volume exists ${dbvolume} ; then
echo "Error : conf volume ${dbvolume} does not exists. Consider running 05_freshinstall.sh if this is the first install."
exit 1
fi