various: don't assume non-OS X == Linux.

This commit is contained in:
Xu Cheng 2016-07-14 15:41:09 +08:00
parent 43a962a5cd
commit c2ece46e1b
No known key found for this signature in database
GPG Key ID: C2A3860FA0B459CE
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,8 @@ git_init_if_necessary() {
then
BREW_OFFICIAL_REMOTE="https://github.com/Homebrew/brew"
CORE_OFFICIAL_REMOTE="https://github.com/Homebrew/homebrew-core"
else
elif [[ -n "$HOMEBREW_LINUX" ]]
then
BREW_OFFICIAL_REMOTE="https://github.com/Linuxbrew/brew"
CORE_OFFICIAL_REMOTE="https://github.com/Linuxbrew/homebrew-core"
fi

View File

@ -18,7 +18,8 @@ then
ruby_URL=""
ruby_SHA=""
fi
else
elif [[ -n "$HOMEBREW_LINUX" ]]
then
ruby_URL="https://homebrew.bintray.com/bottles-portable/portable-ruby-2.0.0-p648.x86_64_linux.bottle.tar.gz"
ruby_SHA="dbb5118a22a6a75cc77e62544a3d8786d383fab1bdaf8c154951268807357bf0"
fi