check_for_upgrade.sh: source ~/.profile only if it exists
@@ -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