mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 11:06:17 +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 _apt
|
||||||
|
_recipe _path
|
||||||
|
|
||||||
for pkg in build-essential curl file git python-setuptools; do
|
for pkg in build-essential curl file git python-setuptools; do
|
||||||
_apt $pkg
|
_apt $pkg
|
||||||
done
|
done
|
||||||
[ -d ~/.linuxbrew ] || git clone -q https://github.com/Linuxbrew/brew.git ~/.linuxbrew
|
[ -d ~/.linuxbrew ] || git clone -q https://github.com/Linuxbrew/brew.git ~/.linuxbrew
|
||||||
PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH"
|
_path "$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin"
|
||||||
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
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue