Sync from SUSE:SLFO:Main selinux-policy revision f9efaebb3ac13de52268ab06acd2f09b

This commit is contained in:
2024-09-30 10:57:10 +02:00
parent 7a3f24a12c
commit fba2fe2eb3
6 changed files with 21 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ if [ -z "${_policytype}" ]; then \
_policytype="targeted" \
fi \
if %{_sbindir}/selinuxenabled && [ "${SELINUXTYPE}" = "${_policytype}" ]; then \
if [ -f %{_file_context_file_pre} ]; then \
if [ -f %{_file_context_file_pre} ] && [ -z "${TRANSACTIONAL_UPDATE}" ]; then \
%{_sbindir}/fixfiles -C %{_file_context_file_pre} restore &> /dev/null \
rm -f %{_file_context_file_pre} \
fi \