remove code for Debian Jessie and "Kali Linux"

Jessie reached EOL quite some time ago, and we do not support
Debian/Ubuntu derrivatives, so removing code for Kali Linux.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn committed 2021-07-05 20:09:52 +02:00
1 parent e93e55402e
commit 3beefb7275
1 file changed
+1 -8
+1 -8
View File
@@ -258,7 +258,7 @@ check_forked() {
9)
dist_version="stretch"
;;
8|'Kali Linux 2')
8)
dist_version="jessie"
;;
esac
@@ -392,13 +392,6 @@ do_install() {
case "$lsb_dist" in
ubuntu|debian|raspbian)
pre_reqs="apt-transport-https ca-certificates curl"
if [ "$lsb_dist" = "debian" ]; then
# libseccomp2 does not exist for debian jessie main repos for aarch64
if [ "$(uname -m)" = "aarch64" ] && [ "$dist_version" = "jessie" ]; then
add_debian_backport_repo "$dist_version"
fi
fi
if ! command -v gpg > /dev/null; then
pre_reqs="$pre_reqs gnupg"
fi