From 2847dacabffbf6d8da173e196d9796c4dc2094cd Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Thu, 19 May 2011 14:50:50 -0700 Subject: [PATCH] added INSTALL check --- bin/git-extras | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/git-extras b/bin/git-extras index 5f436c2..1cf10f5 100755 --- a/bin/git-extras +++ b/bin/git-extras @@ -13,6 +13,8 @@ update() { && echo "... updated git-extras $VERSION -> $(git extras --version)" } +test "$INSTALL" = "y" && update && exit + case "$1" in -v|--version) echo $VERSION && exit 0 ;; update) update ;;