`egrep` is obsolescent

This commit is contained in:
Jacob Collins 2022-12-30 09:57:00 +11:00 committed by GitHub
parent d2bf7d533e
commit e11dd51d80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ if [ -f "/etc/debian_version" ]; then
} }
prep_package_manager() { 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 missing sources to package manager, please wait."
echo "Adding keys.gnupg.net key, please wait." echo "Adding keys.gnupg.net key, please wait."