commit:     02649c571f8a373b61fa43e8d08f3486d1f7df5a
Author:     Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Sun Dec  3 07:54:41 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Dec 12 15:10:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02649c57

sys-process/atop: Add missing dies

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-process/atop/atop-2.3.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-process/atop/atop-2.3.0-r1.ebuild 
b/sys-process/atop/atop-2.3.0-r1.ebuild
index e0a0640ed94..5bf2b313486 100644
--- a/sys-process/atop/atop-2.3.0-r1.ebuild
+++ b/sys-process/atop/atop-2.3.0-r1.ebuild
@@ -49,13 +49,13 @@ src_prepare() {
        tc-export CC PKG_CONFIG
        sed -i 's: root : :' atop.cronsysv || die #191926
        # prefixify
-       sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile
+       sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile || die
 }
 
 src_install() {
        emake DESTDIR="${D}" genericinstall
        # useless -${PV} copies ?
-       rm -f "${ED%/}"/usr/bin/atop*-${PV}
+       rm "${ED%/}"/usr/bin/atop*-${PV} || die
        newinitd "${FILESDIR}"/${PN}.rc-r2 ${PN}
        newinitd "${FILESDIR}"/atopacct.rc atopacct
        systemd_dounit "${FILESDIR}"/${PN}.service

Reply via email to