diff --git a/.dumi/theme/builtins/SourceGenerate.tsx b/.dumi/theme/builtins/SourceGenerate.tsx index 8e6719a..692d4fc 100644 --- a/.dumi/theme/builtins/SourceGenerate.tsx +++ b/.dumi/theme/builtins/SourceGenerate.tsx @@ -108,7 +108,7 @@ const SourceGenerate = ({ first }) => { } shellArray.push( - '/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"', + '/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"', ); shellArray.push(''); diff --git a/README.md b/README.md index 5276795..76f3507 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ## 用法 & 指南 ```shell -/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)" +/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)" ``` 强烈建议按照教程处理,详情请访问 [文档主页](https://brew.idayer.com/) 。 diff --git a/docs/guide/github.md b/docs/guide/github.md index c6f8e9c..06eb91b 100644 --- a/docs/guide/github.md +++ b/docs/guide/github.md @@ -10,7 +10,7 @@ - 方案名:GitHub(可以自行命名) - 类型:远程 -- URL 地址:https://cdn.jsdelivr.net/gh/ineo6/hosts/hosts +- URL 地址:https://gitee.com/ineo6/hosts/raw/master/hosts - 自动更新:1 小时 这样就可以和仓库中最新的`hosts`保持同步。 diff --git a/docs/guide/m1.md b/docs/guide/m1.md index a38d302..9e9a0a9 100644 --- a/docs/guide/m1.md +++ b/docs/guide/m1.md @@ -11,7 +11,7 @@ 直接执行: ```shell -/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)" +/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)" ``` 然后还需设置环境变量,具体操作步骤如下,一定要仔细阅读。 @@ -46,7 +46,7 @@ 在命令前面添加`arch -x86_64`,就可以按 X86 模式执行该命令,比如: ```shell -arch -x86_64 /bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)" +arch -x86_64 /bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)" ``` ## 多版本共存 diff --git a/docs/guide/start.md b/docs/guide/start.md index ee15c63..68ce7f7 100644 --- a/docs/guide/start.md +++ b/docs/guide/start.md @@ -11,7 +11,7 @@ order: 3 如果之前尝试过其他脚本安装,请移除`Homebrew`后再安装,具体请参考 [FAQ](/guide/faq/#no1-的小秘籍) 。 ```shell -/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)" +/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)" ``` > 默认使用中科大源,如果需要换源参考 [换源](/guide/change-source/)。 @@ -125,7 +125,7 @@ brew update 使用官方脚本同样会遇到`uninstall`地址无法访问问题,可以使用下面脚本: ```shell -/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/uninstall.sh)" +/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/uninstall.sh)" ``` ## 其他相关 diff --git a/docs/index.md b/docs/index.md index 60595b9..90716f8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -14,7 +14,7 @@ footer: Open-source MIT Licensed | Copyright © 2021
Powered by [Neo](https ## 快速安装 ```shell script -/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)" +/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)" ```
将以上命令粘贴至终端。脚本内置 中科大镜像 ,所以能让Homebrew安装的更快。
diff --git a/install b/install index bac5a7c..dd2b274 100755 --- a/install +++ b/install @@ -3,8 +3,8 @@ STDERR.print <