summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/atop/atop-2.3.0-r1.ebuild4
1 files 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 e0a0640ed94f..5bf2b3134865 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