Modifications to install.sh

This commit is contained in:
2024-12-02 03:23:11 -06:00
parent 5e7f30635a
commit eb415db6ba

View File

@@ -1,5 +1,7 @@
#!/bin/bash
export HOMEBREW_NO_INSTALL_FROM_API=1
# We don't need return codes for "$(command)", only stdout is needed.
# Allow `[[ -n "$(command)" ]]`, `func "$(command)"`, pipes, etc.
# shellcheck disable=SC2312
@@ -185,8 +187,8 @@ else
fi
CHMOD=("/bin/chmod")
MKDIR=("/bin/mkdir" "-p")
HOMEBREW_BREW_DEFAULT_GIT_REMOTE="https://github.com/Homebrew/brew"
HOMEBREW_CORE_DEFAULT_GIT_REMOTE="https://github.com/Homebrew/homebrew-core"
HOMEBREW_BREW_DEFAULT_GIT_REMOTE="http://192.168.1.129:3000/homebrew-bigsur/brew"
HOMEBREW_CORE_DEFAULT_GIT_REMOTE="http://192.168.1.129:3000/homebrew-bigsur/homebrew-core"
# Use remote URLs of Homebrew repositories from environment if set.
HOMEBREW_BREW_GIT_REMOTE="${HOMEBREW_BREW_GIT_REMOTE:-"${HOMEBREW_BREW_DEFAULT_GIT_REMOTE}"}"