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 - npm --version
# linuxbrew (for hugo) # linuxbrew (for hugo)
- test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv) - git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
- test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) - mkdir ~/.linuxbrew/bin
- test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile - ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin
- echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile - eval $(~/.linuxbrew/bin/brew shellenv)
# hugo (for documentation) # hugo (for documentation)
- brew install hugo - brew install hugo