source ~/.profile only if it exists
Merge pull request #2296 from pstadler/master

check_for_upgrade.sh: source ~/.profile only if it exists