From 9dfa74dcdf119ac7e4e437c9fbce4797c9027a46 Mon Sep 17 00:00:00 2001 From: wuliang142857 Date: Wed, 14 Apr 2021 16:02:48 +0800 Subject: [PATCH] =?UTF-8?q?brew=20v3.0.7=E5=BC=80=E5=A7=8B,HOMEBREW=5FBOTT?= =?UTF-8?q?LE=5FDOMAIN=E9=9C=80=E8=A6=81=E6=8C=87=E5=AE=9A=E5=88=B0/bottle?= =?UTF-8?q?s=E8=BF=99=E4=B8=80=E7=BA=A7=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- help/_posts/1970-01-01-linuxbrew-bottles.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/help/_posts/1970-01-01-linuxbrew-bottles.md b/help/_posts/1970-01-01-linuxbrew-bottles.md index 5b01e54..dc5b09f 100644 --- a/help/_posts/1970-01-01-linuxbrew-bottles.md +++ b/help/_posts/1970-01-01-linuxbrew-bottles.md @@ -11,7 +11,7 @@ mirrorid: linuxbrew-bottles ### 临时替换 ```bash -export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles" +export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles/bottles" ``` ### 长期替换 @@ -19,14 +19,14 @@ export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles" 如果你使用 bash: ```bash -test -r ~/.bash_profile && echo 'export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles"' >> ~/.bash_profile -test -r ~/.profile && echo 'export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles"' >> ~/.profile -export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles" +test -r ~/.bash_profile && echo 'export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles/bottles"' >> ~/.bash_profile +test -r ~/.profile && echo 'export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles/bottles"' >> ~/.profile +export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles/bottles" ``` 如果你使用 zsh: ```zsh -echo 'export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles"' >> ~/.zprofile -export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles" +echo 'export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles/bottles"' >> ~/.zprofile +export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles/bottles" ```