替换说明文档中脚本地址

This commit is contained in:
neo 2020-12-14 13:35:55 +08:00
parent 4de87dbab0
commit bb67985d1e
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
## Install Homebrew (on macOS or Linux) ## Install Homebrew (on macOS or Linux)
```bash ```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" /bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"
``` ```
More installation information and options: https://docs.brew.sh/Installation. More installation information and options: https://docs.brew.sh/Installation.
@ -13,7 +13,7 @@ If running Linux or WSL, [there are some pre-requisite packages to install](http
## Uninstall Homebrew ## Uninstall Homebrew
```bash ```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)" /bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/uninstall.sh)"
``` ```
Download the uninstall script and run `/bin/bash uninstall.sh --help` to view more uninstall options. Download the uninstall script and run `/bin/bash uninstall.sh --help` to view more uninstall options.

View File

@ -3,8 +3,8 @@
STDERR.print <<EOS STDERR.print <<EOS
Warning: The Ruby Homebrew uninstaller is now deprecated and has been rewritten in Warning: The Ruby Homebrew uninstaller is now deprecated and has been rewritten in
Bash. Please migrate to the following command: Bash. Please migrate to the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)" /bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/uninstall.sh)"
EOS EOS
Kernel.exec "/bin/bash", "-c", '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"' + ' uninstall ' + ARGV.join(" ") Kernel.exec "/bin/bash", "-c", '/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/uninstall.sh)"' + ' uninstall ' + ARGV.join(" ")