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

Fix sed-delete command on homebrew install

parent 10c1f3bf
Branches
No related tags found
No related merge requests found
......@@ -6,5 +6,5 @@ su ${USERNAME} -c "ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Home
su ${USERNAME} -c "brew install curl git"
# changes path setup for all users, puts homebrew first
sed -e ';^/usr/local;d' -i /etc/paths
sed -e '/^\/usr\/local/d' -i .orig /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.
Please register or to comment