mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
added INSTALL check
This commit is contained in:
parent
11ee5ed4f8
commit
2847dacabf
|
|
@ -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 ;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue