Create install-homebrew.sh script
Add a script to install Homebrew for a specified user.
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
USER="$1"
|
||||||
|
|
||||||
|
sudo -u "$USER" NONINTERACTIVE=1 \
|
||||||
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
Reference in New Issue
Block a user