1
0
Fork 0
mirror of synced 2025-04-05 06:03:33 +03:00
This commit is contained in:
Herman Duarte 2018-04-17 22:04:59 +00:00 committed by GitHub
commit 4eb6de486b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ if [ -z "$os_type" ]; then
[ -f /etc/os-release ] && os_type="$(. /etc/os-release && echo "$ID")"
[ -f /etc/lsb-release ] && os_type="$(. /etc/lsb-release && echo "$DISTRIB_ID")"
fi
if ! printf '%s' "$os_type" | head -n 1 | grep -qiF -e ubuntu -e debian -e raspbian; then
if ! printf '%s' "$os_type" | head -n 1 | grep -qiF -e ubuntu -e debian -e raspbian -e kali; then
exiterr "This script only supports Ubuntu and Debian."
fi
@ -144,6 +144,14 @@ apt-get -yq update || exiterr "'apt-get update' failed."
bigecho "Installing packages required for setup..."
if printf '%s' "$os_type" | head -n 1 | grep -qiF -e kali; then
apt-get -yq install wget dnsutils openssl \
iproute2 gawk grep sed net-tools || exiterr2
else
apt-get -yq install wget dnsutils openssl \
iproute gawk grep sed net-tools || exiterr2
fi
apt-get -yq install wget dnsutils openssl \
iproute gawk grep sed net-tools || exiterr2