diff options
author | 2019-12-11 13:32:00 +0100 | |
---|---|---|
committer | 2019-12-11 13:32:00 +0100 | |
commit | 398a42634f34afa1979d88ae1d8b38194e911c2d (patch) | |
tree | d6a45bdf7b35b71c192602a46e8d98d12a88cb02 /sec-policy/selinux-base/selinux-base-2.20190201-r1.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 'sec-policy/selinux-base/selinux-base-2.20190201-r1.ebuild')
-rw-r--r-- | sec-policy/selinux-base/selinux-base-2.20190201-r1.ebuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sec-policy/selinux-base/selinux-base-2.20190201-r1.ebuild b/sec-policy/selinux-base/selinux-base-2.20190201-r1.ebuild index 942ea13d67f1..16ee9f2b2abb 100644 --- a/sec-policy/selinux-base/selinux-base-2.20190201-r1.ebuild +++ b/sec-policy/selinux-base/selinux-base-2.20190201-r1.ebuild @@ -72,7 +72,7 @@ src_configure() { # Prepare initial configuration cd "${S}/refpolicy" || die - emake conf || die "Make conf failed" + emake conf # Setup the policies based on the types delivered by the end user. # These types can be "targeted", "strict", "mcs" and "mls". @@ -125,11 +125,8 @@ src_install() { for i in ${POLICY_TYPES}; do cd "${S}/${i}" || die - emake DESTDIR="${D}" install \ - || die "${i} install failed." - - emake DESTDIR="${D}" install-headers \ - || die "${i} headers install failed." + emake DESTDIR="${D}" install + emake DESTDIR="${D}" install-headers echo "run_init_t" > "${D}/etc/selinux/${i}/contexts/run_init_type" || die |