Skip to content

Commit

Permalink
FIX apple, install brew locally
Browse files Browse the repository at this point in the history
  • Loading branch information
mjoppich committed May 9, 2019
1 parent ad46dc6 commit e766ceb
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions install_templates/install_apple_first.igui
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,27 @@ if [ "$(uname)" == "Darwin" ]; then

echo "Dependencies: pip "
if [ ! "$2" = "" ]; then

echo "Installing dependencies"
echo $2 | sudo -S easy_install pip

echo "Installing brew"
echo $2 | sudo -S echo "" | yes | CI=1 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

echo "Installing wget and netcat and python3"
HASBREW=`which brew`

if [ -z "$HASBREW" ]
then
echo "Must install brew"
cd ~

echo "Installing brew to ~/.linuxbrew/Homebrew"
git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
mkdir ~/.linuxbrew/bin
ln -s ../Homebrew/bin/brew ~/.linuxbrew/bin
eval $(~/.linuxbrew/bin/brew shellenv)
else
echo "Found brew $HASBREW"
fi

echo "Installing wget and netcat and python3"
brew install wget netcat python3

echo "Enjoy bioGUI!"
Expand Down

0 comments on commit e766ceb

Please sign in to comment.