Trying alternative installation method for brew

This commit is contained in:
Shay Nehmad 2020-06-16 13:08:33 +03:00
parent 98e4cda08a
commit dfa59cfd0c
1 changed files with 4 additions and 4 deletions

View File

@ -34,10 +34,10 @@ install:
- npm --version
# linuxbrew (for hugo)
- test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
- test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
- test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
- echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
- git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
- mkdir ~/.linuxbrew/bin
- ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin
- eval $(~/.linuxbrew/bin/brew shellenv)
# hugo (for documentation)
- brew install hugo