summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-05-25 10:31:06 +0200
committerLars Wendler <polynomial-c@gentoo.org>2021-05-25 10:31:06 +0200
commit521945589adfa47fa37a938450db4e1d38b23580 (patch)
tree86d56f528fd5c98f622c6c91c20ba9faea26936d /net-misc
parentnet-misc/rsync: Revbump for logrotate file syntax fix (diff)
downloadgentoo-521945589adfa47fa37a938450db4e1d38b23580.tar.gz
gentoo-521945589adfa47fa37a938450db4e1d38b23580.tar.bz2
gentoo-521945589adfa47fa37a938450db4e1d38b23580.zip
net-misc/rsync: Don't use deprecated grep syntax
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/rsync/rsync-3.2.3-r4.ebuild2
-rw-r--r--net-misc/rsync/rsync-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/rsync/rsync-3.2.3-r4.ebuild b/net-misc/rsync/rsync-3.2.3-r4.ebuild
index d5c381d9ed3b..34c869e7619a 100644
--- a/net-misc/rsync/rsync-3.2.3-r4.ebuild
+++ b/net-misc/rsync/rsync-3.2.3-r4.ebuild
@@ -119,7 +119,7 @@ src_install() {
}
pkg_postinst() {
- if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \
+ if grep -Eqis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \
"${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then
ewarn "You have disabled chroot support in your rsyncd.conf. This"
ewarn "is a security risk which you should fix. Please check your"
diff --git a/net-misc/rsync/rsync-9999.ebuild b/net-misc/rsync/rsync-9999.ebuild
index de005c109c3c..a0178f21af56 100644
--- a/net-misc/rsync/rsync-9999.ebuild
+++ b/net-misc/rsync/rsync-9999.ebuild
@@ -116,7 +116,7 @@ src_install() {
}
pkg_postinst() {
- if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \
+ if grep -Eqis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \
"${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then
ewarn "You have disabled chroot support in your rsyncd.conf. This"
ewarn "is a security risk which you should fix. Please check your"