adding python-pip to unknown deb and moved apt-get commands to one line

1.6
Jared Haight 2016-06-30 20:30:09 -04:00
parent 576de97817
commit 4965e19d3f
1 changed files with 3 additions and 11 deletions

View File

@ -17,29 +17,21 @@ if lsb_release -d | grep -q "Fedora"; then
pip install flask
elif lsb_release -d | grep -q "Kali"; then
Release=Kali
apt-get install -y python-dev
apt-get install -y python-m2crypto
apt-get install -y swig
apt-get install -y python-pip
apt-get install -y python-dev python-m2crypto swig python-pip
pip install pycrypto
pip install iptools
pip install pydispatcher
pip install flask
elif lsb_release -d | grep -q "Ubuntu"; then
Release=Ubuntu
apt-get install -y python-dev
apt-get install -y python-m2crypto
apt-get install -y swig
apt-get install -y python-pip
apt-get install -y python-dev python-m2crypto swig python-pip
pip install pycrypto
pip install iptools
pip install pydispatcher
pip install flask
else
echo "Unknown distro - Debian/Ubuntu Fallback"
apt-get install -y python-dev
apt-get install -y python-m2crypto
apt-get install -y swig
apt-get install -y python-dev python-m2crypto swig python-pip
pip install pycrypto
pip install iptools
pip install pydispatcher