diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-20 10:53:14 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-20 10:54:02 -0500 |
| commit | 7b6dbb921650e2a52929f025b67be57609fda6d4 (patch) | |
| tree | 895416312698cfe4ac61d4eed0f071d7743c0214 /shlib/homebrew.sh | |
| parent | Remove openbsd conditional in zsh (diff) | |
| download | dotfiles-7b6dbb921650e2a52929f025b67be57609fda6d4.zip | |
Rework dotfiles to *only* contain dotfiles
Diffstat (limited to 'shlib/homebrew.sh')
| -rw-r--r-- | shlib/homebrew.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/shlib/homebrew.sh b/shlib/homebrew.sh deleted file mode 100644 index a00ad73..0000000 --- a/shlib/homebrew.sh +++ /dev/null @@ -1,20 +0,0 @@ -# shellcheck shell=sh -[ -n "${DOTFILES_HOMEBREW_LOADED}" ] && return -readonly DOTFILES_HOMEBREW_LOADED=1 - -homebrew_is_installed() { - command -v brew >/dev/null 2>&1 -} - -# Installs homebrew and verifies the installation. -# -# If the install was not successful, exits with a -# 1 status code. -homebrew_install() { - /usr/bin/env bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - eval "$(/opt/homebrew/bin/brew shellenv)" - if ! command -v brew >/dev/null 2>&1; then - echo "Failed to install homebrew" - return 1 - fi -} |