install: Move to double brackets in check_for-backup check

pull/1830/head
Noah Gorny 2021-02-06 20:25:56 +02:00
parent af17501318
commit 3e7adde638
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ function backup_append() {
}
function check_for_backup() {
if ! [ -e "$HOME/$BACKUP_FILE" ]; then
if ! [[ -e "$HOME/$BACKUP_FILE" ]]; then
return
fi
echo -e "\033[0;33mBackup file already exists. Make sure to backup your .bashrc before running this installation.\033[0m" >&2