Create install-homebrew.sh script
Add a script to install Homebrew for a specified user.
This commit is contained in:
1 parent
586e26444e
commit
8c8845fdbd
1 file changed
+7
@@ -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