From aaab6761df5e0124903f26afa7718b7bb26431a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Sun, 4 Jul 2021 21:08:39 +0200 Subject: [PATCH] Correction syntaxe de la condition --- podman-matrix/05_freshinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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