summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bracht Laumann Jespersen <t@laumann.xyz>2022-04-20 21:43:09 +0200
committerSam James <sam@gentoo.org>2022-05-13 20:03:33 +0000
commit083bcaf61105b441cf86eddb223b414359997f82 (patch)
tree93ac1295fce531ef760afcbb96f1d53ae7da1f44 /net-misc/ip-sentinel
parentmail-filter/MailScanner: [QA] eend missing argument (diff)
downloadgentoo-083bcaf61105b441cf86eddb223b414359997f82.tar.gz
gentoo-083bcaf61105b441cf86eddb223b414359997f82.tar.bz2
gentoo-083bcaf61105b441cf86eddb223b414359997f82.zip
net-misc/ip-sentinel: [QA] eend missing argument
Replace the ebegin-end pair with einfo, and add "|| die" to each of the mkdir and cp lines. Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/ip-sentinel')
-rw-r--r--net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild b/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild
index 44c2ea9d4979..1a50de532bad 100644
--- a/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild
+++ b/net-misc/ip-sentinel/ip-sentinel-0.12-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -40,10 +40,9 @@ pkg_config() {
CHROOT=`sed -n 's/^[[:blank:]]\?CHROOT="\([^"]\+\)"/\1/p' /etc/conf.d/ip-sentinel 2>/dev/null`
if [ ! -d "${CHROOT:=/chroot/ip-sentinel}" ] ; then
- ebegin "Setting up the chroot directory"
- mkdir -m 0755 -p "${CHROOT}/etc"
- cp -R /etc/ip-sentinel.cfg "${CHROOT}/etc"
- eend
+ einfo "Setting up the chroot directory"
+ mkdir -m 0755 -p "${CHROOT}/etc" || die
+ cp -R /etc/ip-sentinel.cfg "${CHROOT}/etc" || die
if [ "`grep '^#[[:blank:]]\?CHROOT' /etc/conf.d/ip-sentinel`" ] ; then
sed -e '/^#[[:blank:]]\?CHROOT/s/^#[[:blank:]]\?//' \