浏览代码

Merge pull request #1883 from Stibbons/gsemet_push_source_profile_for_upgrade

source ~/.profile for upgrading (to source the proxy configuration)
Robby Russell 11 年之前
父节点
当前提交
f48d6759e6
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tools/check_for_upgrade.sh

+ 2 - 0
tools/check_for_upgrade.sh

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