forked from Mirror/frr
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:
parent
8771cdcb94
commit
c6c1eb5fe5
2
debian/frr.postinst
vendored
2
debian/frr.postinst
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue