[selinux-policy/f20] Fix labeling for /usr/share/fonts/msttcorefonts on policy update
Miroslav Grepl
mgrepl at fedoraproject.org
Mon Sep 29 10:57:35 UTC 2014
commit d5a01106d5efd3f034ce244966b505796b18c8b2
Author: Miroslav Grepl <mgrepl at redhat.com>
Date: Mon Sep 29 12:57:07 2014 +0200
Fix labeling for /usr/share/fonts/msttcorefonts on policy update
selinux-policy.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/selinux-policy.spec b/selinux-policy.spec
index 46ab30e..2f242bf 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -267,6 +267,9 @@ if /sbin/restorecon -e /run/media -R /root /var/log /var/run /etc/passwd* /etc/g
fi; \
if /sbin/restorecon -R /home/*/.config 2> /dev/null;then \
continue; \
+fi; \
+if /sbin/restorecon -R /usr/share/fonts/msttcorefonts 2> /dev/null;then \
+ continue; \
fi;
%define preInstall() \
More information about the scm-commits
mailing list