From 491fa18272540c0a228a147d670d6d496d8e6ac2 Mon Sep 17 00:00:00 2001 From: 233boy Date: Sun, 24 Feb 2019 16:08:06 +0800 Subject: [PATCH] add branch tips info --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index d803655..cefc4b3 100644 --- a/install.sh +++ b/install.sh @@ -982,6 +982,9 @@ while :; do if [[ $local_install ]]; then echo -e "$yellow 温馨提示.. 本地安装已启用 ..$none" echo + elif [[ $_gitbranch != "master" ]]; then + echo -e "$yellow 温馨提示.. 脚本将使用 ${green}$_gitbranch $yellow分支进行安装..$none" + echo fi read -p "$(echo -e "请选择 [${magenta}1-2$none]:")" choose case $choose in