Make Homebrew installation non-interactive
This commit is contained in:
@@ -31,7 +31,7 @@ ensure_flathub() {
|
|||||||
|
|
||||||
install_brew_and_setup_path() {
|
install_brew_and_setup_path() {
|
||||||
if ! command -v brew >/dev/null 2>&1; then
|
if ! command -v brew >/dev/null 2>&1; then
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local BREW_PREFIX="/home/linuxbrew/.linuxbrew"
|
local BREW_PREFIX="/home/linuxbrew/.linuxbrew"
|
||||||
|
|||||||
Reference in New Issue
Block a user