2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

replace deprecated egrep with grep -e

This commit is contained in:
Christian Boltz
2019-03-18 19:17:16 +01:00
parent 6c42cd9eae
commit 5f46dedd6e

View File

@@ -130,7 +130,7 @@ skip_profile() {
[ "${profile%.pacnew}" != "${profile}" ] ; then
return 2
fi
if echo "${profile}" | egrep -q '^.+\.new-[0-9\.]+_[0-9]+$'; then
if echo "${profile}" | grep -E -q '^.+\.new-[0-9\.]+_[0-9]+$'; then
return 2
fi