summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-11 13:32:00 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-11 13:32:00 +0100
commit398a42634f34afa1979d88ae1d8b38194e911c2d (patch)
treed6a45bdf7b35b71c192602a46e8d98d12a88cb02 /sys-auth
parentdev-ros/geometric_shapes: Remove old (diff)
downloadgentoo-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 'sys-auth')
-rw-r--r--sys-auth/munge/munge-0.5.10-r2.ebuild10
-rw-r--r--sys-auth/pam-pgsql/pam-pgsql-0.7.3.2.ebuild2
2 files changed, 6 insertions, 6 deletions
diff --git a/sys-auth/munge/munge-0.5.10-r2.ebuild b/sys-auth/munge/munge-0.5.10-r2.ebuild
index 7054e80d56db..2af3da4bd7d0 100644
--- a/sys-auth/munge/munge-0.5.10-r2.ebuild
+++ b/sys-auth/munge/munge-0.5.10-r2.ebuild
@@ -40,23 +40,23 @@ src_configure() {
}
src_install() {
- emake DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install
# 450830
if [ -d "${D}"/var/run ]; then
rm -rf "${D}"/var/run || die
fi
- dodir /etc/munge || die
+ dodir /etc/munge
[ -d "${D}"/etc/init.d ] && rm -r "${D}"/etc/init.d
[ -d "${D}"/etc/default ] && rm -r "${D}"/etc/default
[ -d "${D}"/etc/sysconfig ] && rm -r "${D}"/etc/sysconfig
- newconfd "${FILESDIR}"/${PN}d.confd ${PN}d || die
- newinitd "${FILESDIR}"/${PN}d.initd ${PN}d || die
+ newconfd "${FILESDIR}"/${PN}d.confd ${PN}d
+ newinitd "${FILESDIR}"/${PN}d.initd ${PN}d
}
src_test() {
- emake check || die
+ emake check
}
diff --git a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2.ebuild b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2.ebuild
index 250886ba0d57..cf69a6bf4c9d 100644
--- a/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2.ebuild
+++ b/sys-auth/pam-pgsql/pam-pgsql-0.7.3.2.ebuild
@@ -32,7 +32,7 @@ src_configure() {
}
src_compile() {
- emake pammoddir="$(getpam_mod_dir)" || die "emake failed"
+ emake pammoddir="$(getpam_mod_dir)"
}
src_install() {