feat: 更新提示

This commit is contained in:
neo 2021-04-03 16:13:01 +08:00
parent c9fb9ca44d
commit 7493fde7fa
2 changed files with 4 additions and 2 deletions

View File

@ -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)"
```

View File

@ -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}"