Skip to content

Commit

Permalink
Merge pull request #5911 from ericschaal/master
Browse files Browse the repository at this point in the history
Added Fedora > 17 support.
  • Loading branch information
solderzzc authored Feb 17, 2017
2 parents 024d325 + 4f6cc07 commit fd01246
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ then
echo "You are on Debian/Ubuntu"
sudo apt-get update
sudo apt-get -y install python python-pip python-dev gcc make git
elif [ -e /etc/fedora-release ]
then
echo "You are on Fedora"
sudo dnf update
sudo dnf -y install redhat-rpm-config gcc make git
sudo dnf -y install python2 python-devel python-virtualenv
sudo pip install --upgrade pip
elif [ -x "$(command -v yum)" ]
then
echo "You are on CentOS/RedHat"
Expand All @@ -128,7 +135,10 @@ echo "Please check if you have python pip gcc make installed on your device."
echo "Wait 5 seconds to continue or Use ctrl+c to interrupt this shell."
sleep 5
fi
if [ ! -e /etc/fedora-release ]
then
easy_install virtualenv
fi
Pokebotreset
Pokebotupdate
Pokebotencrypt
Expand Down

0 comments on commit fd01246

Please sign in to comment.