From c023ea26087047ae2db81cdb126afdc808570fab Mon Sep 17 00:00:00 2001 From: neo Date: Thu, 30 Nov 2023 21:07:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 49 ++++++++++++++++++------------------------------- 1 file changed, 18 insertions(+), 31 deletions(-) diff --git a/install.sh b/install.sh index b7bbcd2..dbf4f33 100755 --- a/install.sh +++ b/install.sh @@ -100,7 +100,7 @@ warn() { } highlight() { - printf "${tty_green} %s${tty_reset}\n" "$(shell_join "$@")" + printf "${tty_green}%s${tty_reset}\n" "$(shell_join "$@")" } checkExecute() { @@ -618,13 +618,13 @@ EOS fi fi -ohai "脚本会安装以下内容:" -echo "${HOMEBREW_PREFIX}/bin/brew" -echo "${HOMEBREW_PREFIX}/share/doc/homebrew" -echo "${HOMEBREW_PREFIX}/share/man/man1/brew.1" -echo "${HOMEBREW_PREFIX}/share/zsh/site-functions/_brew" -echo "${HOMEBREW_PREFIX}/etc/bash_completion.d/brew" -echo "${HOMEBREW_REPOSITORY}" +# ohai "脚本会安装以下内容:" +# echo "${HOMEBREW_PREFIX}/bin/brew" +# echo "${HOMEBREW_PREFIX}/share/doc/homebrew" +# echo "${HOMEBREW_PREFIX}/share/man/man1/brew.1" +# echo "${HOMEBREW_PREFIX}/share/zsh/site-functions/_brew" +# echo "${HOMEBREW_PREFIX}/etc/bash_completion.d/brew" +# echo "${HOMEBREW_REPOSITORY}" # Keep relatively in sync with # https://github.com/Homebrew/brew/blob/master/Library/Homebrew/keg.rb @@ -778,13 +778,12 @@ fi ohai "安装提示" - +echo "" echo "Mac下镜像飞速安装Homebrew教程(请收藏):${tty_underline}https://brew.idayer.com/${tty_reset}" -echo "备用:${tty_underline}https://zhuanlan.zhihu.com/p/90508170${tty_reset}" - echo "" -highlight "欢迎使用[快系列]教程,必出精品,安装有保障!" +echo "打个小广告" +echo "欢迎使用[快系列]教程,必出精品,安装有保障!" cat <