summaryrefslogtreecommitdiffstats
path: root/debian/frr.postinst
diff options
context:
space:
mode:
authorAndreas Hasenack <andreas.hasenack@canonical.com>2022-06-24 14:54:37 +0200
committerAndreas Hasenack <andreas.hasenack@canonical.com>2022-06-24 14:59:30 +0200
commitc6c1eb5fe5b5ef5b252126da5ea297ef40045fc1 (patch)
tree5d4ac77e5854c691b67a8910d8e26135cbfe3c08 /debian/frr.postinst
parentMerge pull request #11462 from donaldsharp/random_stuff_right (diff)
downloadfrr-c6c1eb5fe5b5ef5b252126da5ea297ef40045fc1.tar.xz
frr-c6c1eb5fe5b5ef5b252126da5ea297ef40045fc1.zip
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>
Diffstat (limited to 'debian/frr.postinst')
-rw-r--r--debian/frr.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/frr.postinst b/debian/frr.postinst
index 4e23cd3ce..eb9ec67dd 100644
--- a/debian/frr.postinst
+++ b/debian/frr.postinst
@@ -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"