Skip to content

Commit

Permalink
Revert "Cancel update if the current user doesn't have write permissi…
Browse files Browse the repository at this point in the history
…ons for the oh-my-zsh directory."

This reverts commit 152e1e0.
  • Loading branch information
robbyrussell committed Dec 19, 2013
1 parent c9e5adb commit a38af27
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tools/check_for_upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a38af27

Please sign in to comment.