From 6ad13d12671519e0ce1bc012de8b68a2bb3baa75 Mon Sep 17 00:00:00 2001 From: ZenithalHourlyRate Date: Sun, 12 Sep 2021 03:50:59 +0800 Subject: [PATCH] Update linuxbrew-bottles help on env var path This reverts commit 9dfa74dcdf119ac7e4e437c9fbce4797c9027a46. Ref: https://github.com/tuna/issues/issues/1224 Ref: https://github.com/tuna/mirror-web/pull/257 --- 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 dc5b09f..5b01e54 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/bottles" +export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles" ``` ### 长期替换 @@ -19,14 +19,14 @@ export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles/bot 如果你使用 bash: ```bash -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" +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" ``` 如果你使用 zsh: ```zsh -echo 'export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles/bottles"' >> ~/.zprofile -export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles/bottles" +echo 'export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles"' >> ~/.zprofile +export HOMEBREW_BOTTLE_DOMAIN="https://{{ site.hostname }}/linuxbrew-bottles" ```