Changes default git repos to local url
Some checks failed
CI / tests (macOS-latest, bash) (push) Has been cancelled
CI / tests (ubuntu-latest, bash) (push) Has been cancelled
CI / tests (windows-latest, wsl-bash {0}) (push) Has been cancelled

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:
mleosu
2024-11-20 11:04:03 -06:00
committed by mleosu
parent 3d2b88baf1
commit 17d0bd5a3a
2 changed files with 8 additions and 8 deletions

View File

@@ -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.

View File

@@ -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