1 |
commit: 083bcaf61105b441cf86eddb223b414359997f82 |
2 |
Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz> |
3 |
AuthorDate: Wed Apr 20 19:43:09 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 13 20:03:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=083bcaf6 |
7 |
|
8 |
net-misc/ip-sentinel: [QA] eend missing argument |
9 |
|
10 |
Replace the ebegin-end pair with einfo, and add "|| die" to each of the |
11 |
mkdir and cp lines. |
12 |
|
13 |
Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz> |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild | 9 ++++----- |
17 |
1 file changed, 4 insertions(+), 5 deletions(-) |
18 |
|
19 |
diff --git a/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild b/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild |
20 |
index 44c2ea9d4979..1a50de532bad 100644 |
21 |
--- a/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild |
22 |
+++ b/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild |
23 |
@@ -1,4 +1,4 @@ |
24 |
-# Copyright 1999-2021 Gentoo Authors |
25 |
+# Copyright 1999-2022 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI=7 |
29 |
@@ -40,10 +40,9 @@ pkg_config() { |
30 |
CHROOT=`sed -n 's/^[[:blank:]]\?CHROOT="\([^"]\+\)"/\1/p' /etc/conf.d/ip-sentinel 2>/dev/null` |
31 |
|
32 |
if [ ! -d "${CHROOT:=/chroot/ip-sentinel}" ] ; then |
33 |
- ebegin "Setting up the chroot directory" |
34 |
- mkdir -m 0755 -p "${CHROOT}/etc" |
35 |
- cp -R /etc/ip-sentinel.cfg "${CHROOT}/etc" |
36 |
- eend |
37 |
+ einfo "Setting up the chroot directory" |
38 |
+ mkdir -m 0755 -p "${CHROOT}/etc" || die |
39 |
+ cp -R /etc/ip-sentinel.cfg "${CHROOT}/etc" || die |
40 |
|
41 |
if [ "`grep '^#[[:blank:]]\?CHROOT' /etc/conf.d/ip-sentinel`" ] ; then |
42 |
sed -e '/^#[[:blank:]]\?CHROOT/s/^#[[:blank:]]\?//' \ |