]> git.proxmox.com Git - mirror_frr.git/commitdiff
debian: egrep is deprecated
authorAndreas Hasenack <andreas.hasenack@canonical.com>
Fri, 24 Jun 2022 12:54:37 +0000 (09:54 -0300)
committerAndreas Hasenack <andreas.hasenack@canonical.com>
Fri, 24 Jun 2022 12:59:30 +0000 (09:59 -0300)
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>
debian/frr.postinst

index 4e23cd3cecd1716b6447a26d39d65625507eb3b0..eb9ec67dd98291d28fb547e314a5fa4053f8636a 100644 (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"