Gentoo Archives: gentoo-dev

From: Thomas Bracht Laumann Jespersen <t@×××××××.xyz>
To: gentoo-dev@l.g.o
Cc: polynomial-c@g.o, Thomas Bracht Laumann Jespersen <t@×××××××.xyz>
Subject: [gentoo-dev] [PATCH] apache-2.eclass: remove eend with no ebegin
Date: Fri, 29 Apr 2022 12:54:43
Message-Id: 20220429125429.10743-1-t@laumann.xyz
1 Found by scanning for eclasses with 'eend' but no occurrences of
2 'ebegin'. The following QA notice was also generated when installing
3 www-servers/apache:
4
5 * QA Notice: eend called without preceding ebegin (phase: install)
6
7 Fix by just removing the line.
8
9 Signed-off-by: Thomas Bracht Laumann Jespersen <t@×××××××.xyz>
10 ---
11 eclass/apache-2.eclass | 1 -
12 1 file changed, 1 deletion(-)
13
14 diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
15 index 2197b3d84cd..f59030f926f 100644
16 --- a/eclass/apache-2.eclass
17 +++ b/eclass/apache-2.eclass
18 @@ -650,7 +650,6 @@ apache-2_src_install() {
19 mv -f "${ED%/}/var/www/localhost/icons" \
20 "${ED%/}/usr/share/apache2/icons" || die
21 rm -rf "${ED%/}/var/www/localhost/" || die
22 - eend $?
23
24 # set some sane permissions for suexec
25 if use suexec ; then
26 --
27 2.35.1