commit:     82a2fab3856a3dd33079e76bfc6efc8815d046f0
Author:     Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 28 21:17:02 2016 +0000
Commit:     Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org>
CommitDate: Wed Sep 28 21:17:25 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82a2fab3

sys-power/apcupsd: Fixup missing || die

Package-Manager: portage-2.3.1

 sys-power/apcupsd/apcupsd-3.14.14.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-power/apcupsd/apcupsd-3.14.14.ebuild 
b/sys-power/apcupsd/apcupsd-3.14.14.ebuild
index 22b9887..02c1086 100644
--- a/sys-power/apcupsd/apcupsd-3.14.14.ebuild
+++ b/sys-power/apcupsd/apcupsd-3.14.14.ebuild
@@ -74,12 +74,12 @@ src_compile() {
        # the text files in the distribution, but I wouldn't count on them
        # doing that anytime soon.
        MANPAGER=$(type -p cat) \
-               emake || die "emake failed"
+               emake
 }
 
 src_install() {
        emake DESTDIR="${D}" install
-       rm -f "${D}"/etc/init.d/halt
+       rm -f "${D}"/etc/init.d/halt || die
 
        insinto /etc/apcupsd
        newins examples/safe.apccontrol safe.apccontrol
@@ -90,7 +90,7 @@ src_install() {
 
        dohtml -r doc/manual/*
 
-       rm "${D}"/etc/init.d/apcupsd
+       rm "${D}"/etc/init.d/apcupsd || die
        newinitd "${FILESDIR}/${PN}.init.4" "${PN}"
        newinitd "${FILESDIR}/${PN}.powerfail.init" "${PN}".powerfail
 
@@ -98,7 +98,7 @@ src_install() {
        systemd_dotmpfilesd "${FILESDIR}"/${PN}-tmpfiles.conf
 
        # remove hal settings, we don't really want to have it around still.
-       rm -r "${D}"/usr/share/hal
+       rm -r "${D}"/usr/share/hal || die
 
        # replace it with our udev rules if we're in Linux
        if use kernel_linux; then

Reply via email to