commit:     bb466055356038a9b86eefcd12411e7bb2b8d43b
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Apr  7 14:53:58 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun  7 02:30:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb466055

sys-cluster/pacemaker: force remove /etc/init.d

Closes: https://bugs.gentoo.org/830406
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24944
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/pacemaker/pacemaker-2.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/pacemaker/pacemaker-2.1.2.ebuild 
b/sys-cluster/pacemaker/pacemaker-2.1.2.ebuild
index 7afdf78f7d25..7b55439ffbdc 100644
--- a/sys-cluster/pacemaker/pacemaker-2.1.2.ebuild
+++ b/sys-cluster/pacemaker/pacemaker-2.1.2.ebuild
@@ -65,7 +65,7 @@ src_install() {
        python_optimize
 
        # remove provided initd file as we need support for OpenRC
-       rm -r "${ED}/etc/init.d" || die "Failed to remove old initd"
+       rm -rf "${ED}/etc/init.d" || die "Failed to remove old initd"
        newinitd "${FILESDIR}/${PN}.initd" "${PN}"
 
        keepdir /var/lib/pacemaker/{blackbox,cib,cores,pengine}

Reply via email to