This change was originally introduced to fix contexts of files in
~/.config when there were no filename transition rules in SELinux policy. These lines could be removed. rhbz#1313464
This commit is contained in:
parent
20c9cf85eb
commit
a99d75d418
@ -253,9 +253,6 @@ fi; \
|
||||
if /sbin/restorecon -e /run/media -R /root /var/log /var/run /etc/passwd* /etc/group* /etc/*shadow* 2> /dev/null;then \
|
||||
continue; \
|
||||
fi; \
|
||||
if /sbin/restorecon -R /home/*/.config 2> /dev/null;then \
|
||||
continue; \
|
||||
fi;
|
||||
|
||||
%define preInstall() \
|
||||
if [ $1 -ne 1 ] && [ -s /etc/selinux/config ]; then \
|
||||
|
Loading…
Reference in New Issue
Block a user