From 7261409f0f7a6fa010505171a34e704263bf33db Mon Sep 17 00:00:00 2001 From: Pavel Sakun Date: Tue, 3 Dec 2013 17:02:41 +0300 Subject: [PATCH] Fixed error message in case ~/.profile doesn't exist --- tools/check_for_upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index 14d294328..0f8c9c391 100644 --- a/tools/check_for_upgrade.sh +++ b/tools/check_for_upgrade.sh @@ -20,7 +20,7 @@ if [[ -z "$epoch_target" ]]; then epoch_target=13 fi -[ ~/.profile ] && source ~/.profile +[ -f ~/.profile ] && source ~/.profile if [ -f ~/.zsh-update ] then