171077b101
- /scripts/src/homebrew.sh.tmpl - /scripts/src/cloudflared-ssh.sh.tmpl - /scripts/src/provision.sh.tmpl - /scripts/provision.sh - /scripts/homebrew.sh - /scripts/cloudflared-ssh.sh
14 lines
575 B
Bash
14 lines
575 B
Bash
#!/usr/bin/env bash
|
|
# @file Homebrew Install
|
|
# @brief Installs Homebrew on macOS and / or Linux.
|
|
# @description
|
|
# This script installs Homebrew on macOS and/or Linux machines. The script:
|
|
#
|
|
# 1. Ensures Homebrew is not already installed
|
|
# 2. Installs Homebrew headlessly if sudo privileges are already given
|
|
# 3. Prompts for the sudo password, if required
|
|
# 4. Performs some clean up and update tasks when the Homebrew installation reports an error
|
|
#
|
|
# **Note**: `https://install.doctor/brew` points to this file.
|
|
|
|
{{ include "partials" "homebrew" }}
|