From 104f1dbe2d20ab8e4e49b75856edf5549f7616b6 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Rapha=C3=ABl=20Gertz?= <git@rapsys.eu>
Date: Thu, 12 Oct 2023 02:04:04 +0200
Subject: [PATCH] Replace egrep with grep -E

---
 SOURCES/ihttpd.module-setup | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SOURCES/ihttpd.module-setup b/SOURCES/ihttpd.module-setup
index 96cb60c..3829829 100644
--- a/SOURCES/ihttpd.module-setup
+++ b/SOURCES/ihttpd.module-setup
@@ -127,8 +127,8 @@ install() {
 		-i "$initdir/etc/nsswitch.conf"
 
 	# Require root user and group for our ihttpd process
-	`egrep -q '^root:' $initdir/etc/group` || egrep '^root:' /etc/group >> "$initdir/etc/group"
-	`egrep -q '^root:' $initdir/etc/passwd` || egrep '^root:' /etc/passwd >> "$initdir/etc/passwd"
+	`grep -Eq '^root:' $initdir/etc/group` || grep -E '^root:' /etc/group >> "$initdir/etc/group"
+	`grep -Eq '^root:' $initdir/etc/passwd` || grep -E '^root:' /etc/passwd >> "$initdir/etc/passwd"
 
 	# For debug only
 	if false; then
-- 
2.41.1