mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-04-05 19:41:45 +08:00
feat: 移除多余的斜杠
This commit is contained in:
parent
f200782fa2
commit
3307e6ca51
@ -3,7 +3,7 @@ export const tencentMirror = {
|
||||
core: 'https://mirrors.cloud.tencent.com/homebrew/homebrew-core.git',
|
||||
linuxCore: 'https://mirrors.cloud.tencent.com/homebrew/linuxbrew-core.git',
|
||||
cask: 'https://mirrors.cloud.tencent.com/homebrew/homebrew-cask.git',
|
||||
bottles: 'https://mirrors.cloud.tencent.com/homebrew-bottles/bottles/',
|
||||
bottles: 'https://mirrors.cloud.tencent.com/homebrew-bottles/bottles',
|
||||
linuxBottles: '',
|
||||
};
|
||||
|
||||
@ -13,9 +13,9 @@ export const tsinghuaMirror = {
|
||||
linuxCore:
|
||||
'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/linuxbrew-core.git',
|
||||
cask: 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git',
|
||||
bottles: 'https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles/',
|
||||
bottles: 'https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles',
|
||||
linuxBottles:
|
||||
'https://mirrors.tuna.tsinghua.edu.cn/linuxbrew-bottles/bottles/',
|
||||
'https://mirrors.tuna.tsinghua.edu.cn/linuxbrew-bottles/bottles',
|
||||
};
|
||||
|
||||
export const ustcMirror = {
|
||||
@ -23,8 +23,8 @@ export const ustcMirror = {
|
||||
core: 'https://mirrors.ustc.edu.cn/homebrew-core.git',
|
||||
linuxCore: 'https://mirrors.ustc.edu.cn/linuxbrew-core.git',
|
||||
cask: 'https://mirrors.ustc.edu.cn/homebrew-cask.git',
|
||||
bottles: 'https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/',
|
||||
linuxBottles: 'https://mirrors.ustc.edu.cn/linuxbrew-bottles/bottles/',
|
||||
bottles: 'https://mirrors.ustc.edu.cn/homebrew-bottles/bottles',
|
||||
linuxBottles: 'https://mirrors.ustc.edu.cn/linuxbrew-bottles/bottles',
|
||||
};
|
||||
|
||||
export const bfsuMirror = {
|
||||
@ -32,8 +32,8 @@ export const bfsuMirror = {
|
||||
core: 'https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-core.git',
|
||||
linuxCore: 'https://mirrors.bfsu.edu.cn/git/homebrew/linuxbrew-core.git',
|
||||
cask: 'https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-cask.git',
|
||||
bottles: 'https://mirrors.bfsu.edu.cn/homebrew-bottles/bottles/',
|
||||
linuxBottles: 'https://mirrors.bfsu.edu.cn/linuxbrew-bottles/bottles/',
|
||||
bottles: 'https://mirrors.bfsu.edu.cn/homebrew-bottles/bottles',
|
||||
linuxBottles: 'https://mirrors.bfsu.edu.cn/linuxbrew-bottles/bottles',
|
||||
};
|
||||
|
||||
export const mirrorData: { [key: string]: any } = {
|
||||
|
@ -60,7 +60,7 @@ export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles
|
||||
比如中科大镜像就是这个了:
|
||||
|
||||
```shell
|
||||
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/
|
||||
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles/bottles
|
||||
```
|
||||
|
||||
3. 更新环境变量,以 `~/.zprofile` 为例,更新内容后执行:
|
||||
|
Loading…
x
Reference in New Issue
Block a user