Merge pull request #2296 from pstadler/master

check_for_upgrade.sh: source ~/.profile only if it exists
This commit is contained in:
Robby Russell 2013-12-03 12:51:00 -08:00
commit 6fa64b7199

View file

@ -20,7 +20,7 @@ if [[ -z "$epoch_target" ]]; then
epoch_target=13 epoch_target=13
fi fi
[ ~/.profile ] && source ~/.profile [ -f ~/.profile ] && source ~/.profile
if [ -f ~/.zsh-update ] if [ -f ~/.zsh-update ]
then then