From 4965e19d3f1e757a091f0ec683406139d5b46025 Mon Sep 17 00:00:00 2001 From: Jared Haight Date: Thu, 30 Jun 2016 20:30:09 -0400 Subject: [PATCH] adding python-pip to unknown deb and moved apt-get commands to one line --- setup/install.sh | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/setup/install.sh b/setup/install.sh index 52df896..1672cff 100755 --- a/setup/install.sh +++ b/setup/install.sh @@ -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