Skip to content
Snippets Groups Projects
Commit 10c1f3bf authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Add homebrew installation

parent dca6f02b
No related branches found
No related tags found
No related merge requests found
...@@ -54,6 +54,7 @@ ...@@ -54,6 +54,7 @@
"scripts/add-network-interface-detection.sh", "scripts/add-network-interface-detection.sh",
"scripts/autologin.sh", "scripts/autologin.sh",
"scripts/system-update.sh", "scripts/system-update.sh",
"scripts/homebrew.sh",
"scripts/optimize.sh", "scripts/optimize.sh",
"scripts/shrink.sh" "scripts/shrink.sh"
], ],
......
#!/bin/bash
set -eox pipefail
su ${USERNAME} -c "ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\" </dev/null"
su ${USERNAME} -c "brew install curl git"
# changes path setup for all users, puts homebrew first
sed -e ';^/usr/local;d' -i /etc/paths
echo -e "/usr/local/bin\n/usr/local/sbin\n$(cat /etc/paths)" > /etc/paths
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment