From bc5544782a3e16e03a2d9085c283ae86f29ad25c Mon Sep 17 00:00:00 2001 From: neo Date: Thu, 25 Mar 2021 13:14:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=8C=E5=96=84install.sh=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 39e7099..5c8a200 100755 --- a/install.sh +++ b/install.sh @@ -727,6 +727,7 @@ ohai "Downloading and installing Homebrew..." ) || exit 1 if [[ ":${PATH}:" != *":${HOMEBREW_PREFIX}/bin:"* ]]; then + warn "!!!!!!!!!!! 重要 !!!!!!!!!!!!!!!" warn "看到此提示,一定要执行 Next steps 中的 环境变量设置!!!" warn "${HOMEBREW_PREFIX}/bin is not in your PATH." fi @@ -776,12 +777,14 @@ case "$SHELL" in ;; esac if [[ "$UNAME_MACHINE" == "arm64" ]] || [[ -n "${HOMEBREW_ON_LINUX-}" ]]; then + warn "!!!!!!!!!!! 重要 !!!!!!!!!!!!!!!" echo "切记执行环境变量设置!,如已执行过请忽略。" cat <> ${shell_profile} eval "\$(${HOMEBREW_PREFIX}/bin/brew shellenv)" EOS + echo " 如有疑问,可以访问 ${tty_underline}https://brew.idayer.com/guide/m1/${tty_reset}" fi if [[ -n "${non_default_repos}" ]]; then s="" @@ -796,6 +799,7 @@ fi echo "- 运行 \`brew help\` 开始体验吧" echo "- 更多文档: " echo " ${tty_underline}https://docs.brew.sh${tty_reset}" +echo " ${tty_underline}https://brew.idayer.com${tty_reset}" if [[ -n "${HOMEBREW_ON_LINUX-}" ]]; then echo "- Install the Homebrew dependencies if you have sudo access:"