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 <