1 |
commit: 521945589adfa47fa37a938450db4e1d38b23580 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 25 08:31:06 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 25 08:31:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52194558 |
7 |
|
8 |
net-misc/rsync: Don't use deprecated grep syntax |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
net-misc/rsync/rsync-3.2.3-r4.ebuild | 2 +- |
13 |
net-misc/rsync/rsync-9999.ebuild | 2 +- |
14 |
2 files changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/rsync/rsync-3.2.3-r4.ebuild b/net-misc/rsync/rsync-3.2.3-r4.ebuild |
17 |
index d5c381d9ed3..34c869e7619 100644 |
18 |
--- a/net-misc/rsync/rsync-3.2.3-r4.ebuild |
19 |
+++ b/net-misc/rsync/rsync-3.2.3-r4.ebuild |
20 |
@@ -119,7 +119,7 @@ src_install() { |
21 |
} |
22 |
|
23 |
pkg_postinst() { |
24 |
- if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ |
25 |
+ if grep -Eqis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ |
26 |
"${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then |
27 |
ewarn "You have disabled chroot support in your rsyncd.conf. This" |
28 |
ewarn "is a security risk which you should fix. Please check your" |
29 |
|
30 |
diff --git a/net-misc/rsync/rsync-9999.ebuild b/net-misc/rsync/rsync-9999.ebuild |
31 |
index de005c109c3..a0178f21af5 100644 |
32 |
--- a/net-misc/rsync/rsync-9999.ebuild |
33 |
+++ b/net-misc/rsync/rsync-9999.ebuild |
34 |
@@ -116,7 +116,7 @@ src_install() { |
35 |
} |
36 |
|
37 |
pkg_postinst() { |
38 |
- if egrep -qis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ |
39 |
+ if grep -Eqis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ |
40 |
"${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then |
41 |
ewarn "You have disabled chroot support in your rsyncd.conf. This" |
42 |
ewarn "is a security risk which you should fix. Please check your" |