Update automated install/basic-install.sh

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2020-12-02 20:49:07 +00:00 committed by GitHub
parent 641951b3a0
commit e47eb30a6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -529,7 +529,7 @@ make_repo() {
# If the directory exists, # If the directory exists,
if [[ -d "${directory}" ]]; then if [[ -d "${directory}" ]]; then
# Return with a 1 to exit the installer. We don't want to overwrite what could already be here in case it is not ours # Return with a 1 to exit the installer. We don't want to overwrite what could already be here in case it is not ours
str="Unable to clone ${remoteRepo} into ${directory}" str="Unable to clone ${remoteRepo} into ${directory} : Directory already exists"
printf "%b %b%s\\n" "${OVER}" "${CROSS}" "${str}" printf "%b %b%s\\n" "${OVER}" "${CROSS}" "${str}"
return 1 return 1
fi fi