From 7493fde7fa5b43298da5dedfafb123b759afcd9d Mon Sep 17 00:00:00 2001 From: neo Date: Sat, 3 Apr 2021 16:13:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/guide/start.md | 2 ++ install.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/guide/start.md b/docs/guide/start.md index 563ee72..a08c90c 100644 --- a/docs/guide/start.md +++ b/docs/guide/start.md @@ -8,6 +8,8 @@ order: 3 ## 安装说明 +如果之前尝试过其他脚本安装,请移除`Homebrew`后再安装,具体请参考 [FAQ](/guide/faq/#no1-的小秘籍) 。 + ```shell /bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)" ``` diff --git a/install.sh b/install.sh index 5c8a200..427fc44 100755 --- a/install.sh +++ b/install.sh @@ -197,7 +197,7 @@ ring_bell() { wait_for_user() { local c echo - echo "Press RETURN to continue or any other key to abort" + echo "请按回车键(RETURN)继续安装,按其他任意按键取消安装" getc c # we test for \r and \n because some stuff does \r instead if ! [[ "$c" == $'\r' || "$c" == $'\n' ]]; then @@ -796,7 +796,7 @@ if [[ -n "${non_default_repos}" ]]; then printf " %s\n" "${additional_shellenv_commands[@]}" fi -echo "- 运行 \`brew help\` 开始体验吧" +echo "- 🎉 恭喜,安装成功!运行 \`brew help\` 开始体验吧" echo "- 更多文档: " echo " ${tty_underline}https://docs.brew.sh${tty_reset}" echo " ${tty_underline}https://brew.idayer.com${tty_reset}"