diff --git a/_posts/help/1970-01-01-homebrew.md b/_posts/help/1970-01-01-homebrew.md index 8a5db32..9d421e3 100644 --- a/_posts/help/1970-01-01-homebrew.md +++ b/_posts/help/1970-01-01-homebrew.md @@ -12,10 +12,10 @@ mirrorid: homebrew ``` cd /usr/local -git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/brew.git +git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git cd /usr/local/Library/Taps/homebrew/homebrew-core -git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew-core.git +git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git brew update ``` @@ -24,10 +24,10 @@ brew update ``` cd /usr/local/Library/Taps/homebrew/homebrew-science -git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew-science.git +git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-science.git cd /usr/local/Library/Taps/homebrew/homebrew-python -git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew-python.git +git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-python.git brew update ``` diff --git a/static/js/index.es6 b/static/js/index.es6 index 205c6d8..7ee7932 100644 --- a/static/js/index.es6 +++ b/static/js/index.es6 @@ -33,6 +33,9 @@ var mir_tmpl = $("#template").text(), options = { 'AOSP': { 'url': "/help/AOSP/", + }, + 'homebrew': { + 'url': "/help/homebrew/", } };