Correction syntaxe de la condition

This commit is contained in:
Loïc 2021-07-04 21:08:39 +02:00
parent dabd1d3c22
commit aaab6761df

View file

@ -9,7 +9,7 @@ ensure_not_root
ensure_variables_are_defined "$envvars" ensure_variables_are_defined "$envvars"
if [[ -d ~/.local/share/containers/storage/volumes/${confvolume} || -d ~/.local/share/containers/storage/volumes/${dbvolume} ]]; then if [[ -d ~/.local/share/containers/storage/volumes/${confvolume} ]] || [[ -d ~/.local/share/containers/storage/volumes/${dbvolume} ]]; then
echo "Files or volumes from previous installation already exists" echo "Files or volumes from previous installation already exists"
echo "Please remove them before fresh install, or try continue with normal installation" echo "Please remove them before fresh install, or try continue with normal installation"
exit 1 exit 1