Update install.sh

Fix Kali Install
php_fix
SadProcessor 2018-01-08 22:35:30 +01:00 committed by GitHub
parent 058be55394
commit 2852513062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

@ -83,12 +83,11 @@ function install_powershell() {
fi
#Kali Linux
if cat /etc/lsb-release | grep -i 'Kali'; then
# Install prerequisites
apt-get install libunwind8 libicu55
wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb
dpkg -i libssl1.0.0_1.0.1t-1+deb8u6_amd64.deb
# Install PowerShell
dpkg -i powershell_6.0.0-rc.2-1.ubuntu.16.04_amd64.deb
wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/powershell_6.0.0-rc.2-1.debian.9_amd64.deb
dpkg -i powershell_6.0.0-rc.2-1.debian.9_amd64.deb
#fix dependency error
apt-get install -f -y
fi
fi
if ls /opt/microsoft/powershell/*/DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY; then
@ -133,7 +132,9 @@ else
sudo pip install -r requirements.txt
elif lsb_release -d | grep -q "Kali"; then
Release=Kali
sudo apt-get install -y make g++ python-dev python-m2crypto swig python-pip libxml2-dev default-jdk libssl1.0.0 libssl-dev build-essential
wget http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb
dpkg -i libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb
sudo apt-get install -y make g++ python-dev python-m2crypto swig python-pip libxml2-dev default-jdk zlib1g-dev libssl1.0-dev build-essential
pip install --upgrade pip
sudo pip install -r requirements.txt
install_powershell