mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 03:00:11 +00:00
Update brew recipe to use _path
This commit is contained in:
parent
2bf11060cb
commit
c949106d88
1 changed files with 2 additions and 3 deletions
|
@ -8,14 +8,13 @@ function __install_brew {
|
|||
;;
|
||||
*)
|
||||
_recipe _apt
|
||||
_recipe _path
|
||||
|
||||
for pkg in build-essential curl file git python-setuptools; do
|
||||
_apt $pkg
|
||||
done
|
||||
[ -d ~/.linuxbrew ] || git clone -q https://github.com/Linuxbrew/brew.git ~/.linuxbrew
|
||||
PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH"
|
||||
test -r ~/.bash_profile && echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.bash_profile
|
||||
echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.profile
|
||||
_path "$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue