From e11dd51d809ab5cdae7683a6bde38d1cfb08436b Mon Sep 17 00:00:00 2001 From: Jacob Collins Date: Fri, 30 Dec 2022 09:57:00 +1100 Subject: [PATCH] `egrep` is obsolescent --- lib/installer/managers/apt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/installer/managers/apt.sh b/lib/installer/managers/apt.sh index 05cce57..4d1d76e 100755 --- a/lib/installer/managers/apt.sh +++ b/lib/installer/managers/apt.sh @@ -16,7 +16,7 @@ if [ -f "/etc/debian_version" ]; then } prep_package_manager() { - if [ ! "$(cat /etc/apt/sources.list | egrep 'deb http://http.kali.org/kali ((kali-rolling|main|contrib|non-free) )*')" ]; then + if [ ! "$(cat /etc/apt/sources.list | grep -E 'deb http://http.kali.org/kali ((kali-rolling|main|contrib|non-free) )*')" ]; then echo "Adding missing sources to package manager, please wait." echo "Adding keys.gnupg.net key, please wait."