summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarri Nieminen <moikkis@gmail.com>2017-12-03 09:54:41 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-12-12 16:10:44 +0100
commit02649c571f8a373b61fa43e8d08f3486d1f7df5a (patch)
tree402add34f029cc01d61f01c7e820315a598a9fb9 /sys-process
parentsys-process/atop: Remove old (diff)
downloadgentoo-02649c571f8a373b61fa43e8d08f3486d1f7df5a.tar.gz
gentoo-02649c571f8a373b61fa43e8d08f3486d1f7df5a.tar.bz2
gentoo-02649c571f8a373b61fa43e8d08f3486d1f7df5a.zip
sys-process/atop: Add missing dies
Package-Manager: Portage-2.3.16, Repoman-2.3.6
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