Correction syntaxe de la condition
This commit is contained in:
parent
dabd1d3c22
commit
aaab6761df
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue