Skip to content

Commit

Permalink
Merge pull request Manisso#30 from vasanth3045/master
Browse files Browse the repository at this point in the history
Install.sh for macOS
  • Loading branch information
thehappydinoa authored Feb 3, 2018
2 parents 1623ef3 + 9557450 commit 7c2943f
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,20 @@ if [ "$PREFIX" = "/data/data/com.termux/files/usr" ]; then
TERMUX=true
pkg install -y git python2
else
INSTALL_DIR="/usr/share/doc/fsociety"
BIN_DIR="/usr/bin/"
BASH_PATH="/bin/bash"
TERMUX=false
apt-get install -y git python
if [[ "$(uname)" == 'Darwin' ]]; then
INSTALL_DIR="/usr/local/fsociety"
BIN_DIR="/usr/local/bin/"
BASH_PATH="/bin/bash"
TERMUX=false
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install python
else
INSTALL_DIR="/usr/share/doc/fsociety"
BIN_DIR="/usr/bin/"
BASH_PATH="/bin/bash"
TERMUX=false
apt-get install -y git python
fi
fi

echo "[✔] Checking directories...";
Expand Down

0 comments on commit 7c2943f

Please sign in to comment.