1 |
commit: 02649c571f8a373b61fa43e8d08f3486d1f7df5a |
2 |
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Dec 3 07:54:41 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 12 15:10:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02649c57 |
7 |
|
8 |
sys-process/atop: Add missing dies |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
sys-process/atop/atop-2.3.0-r1.ebuild | 4 ++-- |
13 |
1 file changed, 2 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/sys-process/atop/atop-2.3.0-r1.ebuild b/sys-process/atop/atop-2.3.0-r1.ebuild |
16 |
index e0a0640ed94..5bf2b313486 100644 |
17 |
--- a/sys-process/atop/atop-2.3.0-r1.ebuild |
18 |
+++ b/sys-process/atop/atop-2.3.0-r1.ebuild |
19 |
@@ -49,13 +49,13 @@ src_prepare() { |
20 |
tc-export CC PKG_CONFIG |
21 |
sed -i 's: root : :' atop.cronsysv || die #191926 |
22 |
# prefixify |
23 |
- sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile |
24 |
+ sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile || die |
25 |
} |
26 |
|
27 |
src_install() { |
28 |
emake DESTDIR="${D}" genericinstall |
29 |
# useless -${PV} copies ? |
30 |
- rm -f "${ED%/}"/usr/bin/atop*-${PV} |
31 |
+ rm "${ED%/}"/usr/bin/atop*-${PV} || die |
32 |
newinitd "${FILESDIR}"/${PN}.rc-r2 ${PN} |
33 |
newinitd "${FILESDIR}"/atopacct.rc atopacct |
34 |
systemd_dounit "${FILESDIR}"/${PN}.service |