diff options
author | David Seifert <soap@gentoo.org> | 2019-12-11 13:32:00 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-12-11 13:32:00 +0100 |
commit | 398a42634f34afa1979d88ae1d8b38194e911c2d (patch) | |
tree | d6a45bdf7b35b71c192602a46e8d98d12a88cb02 /net-misc/cfengine/cfengine-3.6.2.ebuild | |
parent | dev-ros/geometric_shapes: Remove old (diff) | |
download | gentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.tar.gz gentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.tar.bz2 gentoo-398a42634f34afa1979d88ae1d8b38194e911c2d.zip |
*/*: [QA] Remove redundant `|| die` guards
* Since all ebuilds in the tree are EAPI>=4,
`|| die` on builtin commands is redundant
and dead code.
Closes: https://github.com/gentoo/gentoo/pull/13940
Reviewed-by: Ulrich Müller <ulm@gentoo.org>
Reviewed-by: Michał Górny <mgorny@gentoo.org>
Reviewed-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-misc/cfengine/cfengine-3.6.2.ebuild')
-rw-r--r-- | net-misc/cfengine/cfengine-3.6.2.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net-misc/cfengine/cfengine-3.6.2.ebuild b/net-misc/cfengine/cfengine-3.6.2.ebuild index fd0b75a9d5c7..d0d55340c25f 100644 --- a/net-misc/cfengine/cfengine-3.6.2.ebuild +++ b/net-misc/cfengine/cfengine-3.6.2.ebuild @@ -77,11 +77,11 @@ src_configure() { } src_install() { - newinitd "${FILESDIR}"/cf-serverd.rc6 cf-serverd || die - newinitd "${FILESDIR}"/cf-monitord.rc6 cf-monitord || die - newinitd "${FILESDIR}"/cf-execd.rc6 cf-execd || die + newinitd "${FILESDIR}"/cf-serverd.rc6 cf-serverd + newinitd "${FILESDIR}"/cf-monitord.rc6 cf-monitord + newinitd "${FILESDIR}"/cf-execd.rc6 cf-execd - emake DESTDIR="${D}" install || die + emake DESTDIR="${D}" install # fix ifconfig path in provided promises find "${D}"/usr/share -name "*.cf" | xargs sed -i "s,/sbin/ifconfig,$(which ifconfig),g" @@ -104,7 +104,7 @@ src_install() { # binaries here. This is the default search location for the # binaries. for bin in promises agent monitord serverd execd runagent key; do - dosym /usr/sbin/cf-$bin /var/cfengine/bin/cf-$bin || die + dosym /usr/sbin/cf-$bin /var/cfengine/bin/cf-$bin done if use masterfiles; then |