浏览代码

Revert "Cancel update if the current user doesn't have write permissions for the oh-my-zsh directory."

This reverts commit 152e1e07e0397ecc3f1778ea597d081c33ee8ff4.
Robby Russell 10 年之前
父节点
当前提交
a38af27991
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      tools/check_for_upgrade.sh

+ 0 - 7
tools/check_for_upgrade.sh

@@ -26,13 +26,6 @@ if [ -f ~/.zsh-update ]
 then
   . ~/.zsh-update
 
-  # cancel update if the current user doesn't have write permissions for the
-  # oh-my-zsh directory
-  if [ -n $(find -not -writable "$ZSH") ]
-  then
-    return 0;
-  fi
-
   if [[ -z "$LAST_EPOCH" ]]; then
     _update_zsh_update && return 0;
   fi