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