summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Fiskerstrand <k_f@gentoo.org>2016-09-28 23:17:02 +0200
committerKristian Fiskerstrand <k_f@gentoo.org>2016-09-28 23:17:25 +0200
commit82a2fab3856a3dd33079e76bfc6efc8815d046f0 (patch)
tree930dde3136f1405f5eec67a214cfa2499050448c /sys-power
parentgames-sports/ski: remove deprecated games eclass (diff)
downloadgentoo-82a2fab3856a3dd33079e76bfc6efc8815d046f0.tar.gz
gentoo-82a2fab3856a3dd33079e76bfc6efc8815d046f0.tar.bz2
gentoo-82a2fab3856a3dd33079e76bfc6efc8815d046f0.zip
sys-power/apcupsd: Fixup missing || die
Package-Manager: portage-2.3.1
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/apcupsd/apcupsd-3.14.14.ebuild8
1 files 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 22b98875af41..02c1086791de 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