diff options
author | Robby Russell <robby@planetargon.com> | 2013-12-18 17:03:33 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-12-18 17:03:33 -0800 |
commit | a38af27991d15d14ac4ca55c919bb694d7eafb7a (patch) | |
tree | 272445797f7c9fed07cace092ab6e3151924a495 /tools | |
parent | c9e5adb637c0220a471c2ec4f0fb0f4195fcfb35 (diff) | |
download | zsh-a38af27991d15d14ac4ca55c919bb694d7eafb7a.tar.gz zsh-a38af27991d15d14ac4ca55c919bb694d7eafb7a.tar.bz2 zsh-a38af27991d15d14ac4ca55c919bb694d7eafb7a.zip |
Revert "Cancel update if the current user doesn't have write permissions for the oh-my-zsh directory."
This reverts commit 152e1e07e0397ecc3f1778ea597d081c33ee8ff4.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/check_for_upgrade.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh index d877e2a89..0f8c9c391 100644 --- a/tools/check_for_upgrade.sh +++ b/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 |