sec-policy/selinux-base-policy: postinst should not die

It breaks catalyst stage building.

Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
Jason Zaman
2018-01-10 01:47:21 +08:00
parent 4d29f97571
commit f03eee7017
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -106,7 +106,7 @@ pkg_postinst() {
cd /usr/share/selinux/${i} || die "Could not enter /usr/share/selinux/${i}"
semodule -s ${i} ${COMMAND} || die "Failed to load in base and modules ${MODS} in the $i policy store"
semodule -s ${i} ${COMMAND}
done
# Relabel depending packages

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -106,7 +106,7 @@ pkg_postinst() {
cd /usr/share/selinux/${i} || die "Could not enter /usr/share/selinux/${i}"
semodule -s ${i} ${COMMAND} || die "Failed to load in base and modules ${MODS} in the $i policy store"
semodule -s ${i} ${COMMAND}
done
# Relabel depending packages