Changes default git repos to local url
fixes issues with using https to use http Keep supporting catalina Changes default git repos to local url fixes issues with using https to use http Keep supporting catalina Updates repo url
This commit is contained in:
10
README.md
10
README.md
@@ -3,7 +3,7 @@
|
||||
## Install Homebrew (on macOS or Linux)
|
||||
|
||||
```bash
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
/bin/bash -c "$(curl -fsSL http://pi5c0.lan:3000/homebrew-catalina/install/raw/branch/master/install.sh)"
|
||||
```
|
||||
|
||||
More installation information and options: <https://docs.brew.sh/Installation>.
|
||||
@@ -19,7 +19,7 @@ You can set `HOMEBREW_BREW_GIT_REMOTE` and/or `HOMEBREW_CORE_GIT_REMOTE` in your
|
||||
```bash
|
||||
export HOMEBREW_BREW_GIT_REMOTE="..." # put your Git mirror of Homebrew/brew here
|
||||
export HOMEBREW_CORE_GIT_REMOTE="..." # put your Git mirror of Homebrew/homebrew-core here
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
/bin/bash -c "$(curl -fsSL http://pi5c0.lan:3000/homebrew-catalina/install/raw/branch/master/install.sh)"
|
||||
```
|
||||
|
||||
The default Git remote will be used if the corresponding environment variable is unset.
|
||||
@@ -27,19 +27,19 @@ The default Git remote will be used if the corresponding environment variable is
|
||||
If you want to run the Homebrew installer non-interactively without prompting for passwords (e.g. in automation scripts), you can use:
|
||||
|
||||
```bash
|
||||
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL http://pi5c0.lan:3000/homebrew-catalina/install/raw/branch/master/install.sh)"
|
||||
```
|
||||
|
||||
## Uninstall Homebrew
|
||||
|
||||
```bash
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
|
||||
/bin/bash -c "$(curl -fsSL http://pi5c0.lan:3000/homebrew-catalina/install/raw/branch/master/uninstall.sh)"
|
||||
```
|
||||
|
||||
If you want to run the Homebrew uninstaller non-interactively, you can use:
|
||||
|
||||
```bash
|
||||
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
|
||||
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL http://pi5c0.lan:3000/homebrew-catalina/install/raw/branch/master/uninstall.sh)"
|
||||
```
|
||||
|
||||
Download the uninstall script and run `/bin/bash uninstall.sh --help` to view more uninstall options.
|
||||
|
||||
@@ -185,8 +185,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://pi5c0.lan:3000/homebrew-catalina/brew"
|
||||
HOMEBREW_CORE_DEFAULT_GIT_REMOTE="http://pi5c0.lan:3000/homebrew-catalina/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}"}"
|
||||
@@ -205,7 +205,7 @@ export HOMEBREW_{BREW,CORE}_GIT_REMOTE
|
||||
# TODO: bump version when new macOS is released or announced
|
||||
MACOS_NEWEST_UNSUPPORTED="15.0"
|
||||
# TODO: bump version when new macOS is released
|
||||
MACOS_OLDEST_SUPPORTED="12.0"
|
||||
MACOS_OLDEST_SUPPORTED="10.5"
|
||||
|
||||
# For Homebrew on Linux
|
||||
REQUIRED_RUBY_VERSION=2.6 # https://github.com/Homebrew/brew/pull/6556
|
||||
|
||||
Reference in New Issue
Block a user