debian: egrep is deprecated

egrep is deprecated, please see
https://git.savannah.gnu.org/cgit/grep.git/commit/?id=a9515624709865d480e3142fd959bccd1c9372d1

Signed-off-by: Andreas Hasenack <andreas.hasenack@canonical.com>
This commit is contained in:
Andreas Hasenack 2022-06-24 09:54:37 -03:00
parent 8771cdcb94
commit c6c1eb5fe5

2
debian/frr.postinst vendored
View file

@ -40,7 +40,7 @@ find \
# don't chown anything that has ACLs (but don't fail if we don't
# have getfacl)
if { getfacl -c "$filename" 2>/dev/null || true; } \
| egrep -q -v '^((user|group|other)::|$)'; then
| grep -E -q -v '^((user|group|other)::|$)'; then
:
else
chown frr: "$filename"