mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-04-06 03:58:05 +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',
|
core: 'https://mirrors.cloud.tencent.com/homebrew/homebrew-core.git',
|
||||||
linuxCore: 'https://mirrors.cloud.tencent.com/homebrew/linuxbrew-core.git',
|
linuxCore: 'https://mirrors.cloud.tencent.com/homebrew/linuxbrew-core.git',
|
||||||
cask: 'https://mirrors.cloud.tencent.com/homebrew/homebrew-cask.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: '',
|
linuxBottles: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -13,9 +13,9 @@ export const tsinghuaMirror = {
|
|||||||
linuxCore:
|
linuxCore:
|
||||||
'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/linuxbrew-core.git',
|
'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/linuxbrew-core.git',
|
||||||
cask: 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.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:
|
linuxBottles:
|
||||||
'https://mirrors.tuna.tsinghua.edu.cn/linuxbrew-bottles/bottles/',
|
'https://mirrors.tuna.tsinghua.edu.cn/linuxbrew-bottles/bottles',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const ustcMirror = {
|
export const ustcMirror = {
|
||||||
@ -23,8 +23,8 @@ export const ustcMirror = {
|
|||||||
core: 'https://mirrors.ustc.edu.cn/homebrew-core.git',
|
core: 'https://mirrors.ustc.edu.cn/homebrew-core.git',
|
||||||
linuxCore: 'https://mirrors.ustc.edu.cn/linuxbrew-core.git',
|
linuxCore: 'https://mirrors.ustc.edu.cn/linuxbrew-core.git',
|
||||||
cask: 'https://mirrors.ustc.edu.cn/homebrew-cask.git',
|
cask: 'https://mirrors.ustc.edu.cn/homebrew-cask.git',
|
||||||
bottles: 'https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/',
|
bottles: 'https://mirrors.ustc.edu.cn/homebrew-bottles/bottles',
|
||||||
linuxBottles: 'https://mirrors.ustc.edu.cn/linuxbrew-bottles/bottles/',
|
linuxBottles: 'https://mirrors.ustc.edu.cn/linuxbrew-bottles/bottles',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const bfsuMirror = {
|
export const bfsuMirror = {
|
||||||
@ -32,8 +32,8 @@ export const bfsuMirror = {
|
|||||||
core: 'https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-core.git',
|
core: 'https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-core.git',
|
||||||
linuxCore: 'https://mirrors.bfsu.edu.cn/git/homebrew/linuxbrew-core.git',
|
linuxCore: 'https://mirrors.bfsu.edu.cn/git/homebrew/linuxbrew-core.git',
|
||||||
cask: 'https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-cask.git',
|
cask: 'https://mirrors.bfsu.edu.cn/git/homebrew/homebrew-cask.git',
|
||||||
bottles: 'https://mirrors.bfsu.edu.cn/homebrew-bottles/bottles/',
|
bottles: 'https://mirrors.bfsu.edu.cn/homebrew-bottles/bottles',
|
||||||
linuxBottles: 'https://mirrors.bfsu.edu.cn/linuxbrew-bottles/bottles/',
|
linuxBottles: 'https://mirrors.bfsu.edu.cn/linuxbrew-bottles/bottles',
|
||||||
};
|
};
|
||||||
|
|
||||||
export const mirrorData: { [key: string]: any } = {
|
export const mirrorData: { [key: string]: any } = {
|
||||||
|
@ -60,7 +60,7 @@ export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles
|
|||||||
比如中科大镜像就是这个了:
|
比如中科大镜像就是这个了:
|
||||||
|
|
||||||
```shell
|
```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` 为例,更新内容后执行:
|
3. 更新环境变量,以 `~/.zprofile` 为例,更新内容后执行:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user