summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-07-02 06:35:06 -0500
committerBen Kohler <bkohler@gentoo.org>2020-07-02 07:26:33 -0500
commit0c730666252a75f3360f974e429f9fd210072c6d (patch)
treec7cf8c4d83dec8923ebbc990a5fc06a787fa68d9 /sys-libs
parentdev-perl/Crypt-Random-Source: Bump to version 0.140.0 (diff)
downloadgentoo-0c730666252a75f3360f974e429f9fd210072c6d.tar.gz
gentoo-0c730666252a75f3360f974e429f9fd210072c6d.tar.bz2
gentoo-0c730666252a75f3360f974e429f9fd210072c6d.zip
sys-libs/libsemanage: don't die in pkg_postinst
Bug: https://bugs.gentoo.org/642634 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libsemanage/libsemanage-3.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-libs/libsemanage/libsemanage-3.0.ebuild b/sys-libs/libsemanage/libsemanage-3.0.ebuild
index 55e47cca920d..09d82c6ba64a 100644
--- a/sys-libs/libsemanage/libsemanage-3.0.ebuild
+++ b/sys-libs/libsemanage/libsemanage-3.0.ebuild
@@ -129,7 +129,7 @@ pkg_postinst() {
for POLICY_TYPE in ${POLICY_TYPES} ; do
if [ ! -d "${EROOT}/var/lib/selinux/${POLICY_TYPE}/active" ] ; then
einfo "Migrating store ${POLICY_TYPE} (without policy rebuild)."
- "${EROOT}/usr/libexec/selinux/semanage_migrate_store" -n -s "${POLICY_TYPE}" || die "Failed to migrate store ${POLICY_TYPE}"
+ "${EROOT}/usr/libexec/selinux/semanage_migrate_store" -n -s "${POLICY_TYPE}" || ewarn "Failed to migrate store ${POLICY_TYPE}"
fi
done
}