diff --git a/podman-matrix/05_freshinstall.sh b/podman-matrix/05_freshinstall.sh index 0ad5121..012092a 100755 --- a/podman-matrix/05_freshinstall.sh +++ b/podman-matrix/05_freshinstall.sh @@ -9,7 +9,7 @@ ensure_not_root 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 "Please remove them before fresh install, or try continue with normal installation" exit 1