a38af27991d15d14ac4ca55c919bb694d7eafb7a

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

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

This reverts commit 152e1e07e0397ecc3f1778ea597d081c33ee8ff4.

Diff

 1diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh
 2index d877e2a892c4b320f8cf3871d752190c26141073..0f8c9c391413e460fd99d80a50c5fb6b1e5c0984 100644
 3--- a/tools/check_for_upgrade.sh
 4+++ b/tools/check_for_upgrade.sh
 5@@ -26,13 +26,6 @@ if [ -f ~/.zsh-update ]
 6 then
 7   . ~/.zsh-update
 8 
 9-  # cancel update if the current user doesn't have write permissions for the
10-  # oh-my-zsh directory
11-  if [ -n $(find -not -writable "$ZSH") ]
12-  then
13-    return 0;
14-  fi
15-
16   if [[ -z "$LAST_EPOCH" ]]; then
17     _update_zsh_update && return 0;
18   fi