mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-03 07:45:50 +00:00
replace deprecated egrep with grep -e
This commit is contained in:
@@ -130,7 +130,7 @@ skip_profile() {
|
|||||||
[ "${profile%.pacnew}" != "${profile}" ] ; then
|
[ "${profile%.pacnew}" != "${profile}" ] ; then
|
||||||
return 2
|
return 2
|
||||||
fi
|
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
|
return 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user