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:
Lukas Vrabec 2016-03-01 17:22:44 +01:00
parent 20c9cf85eb
commit a99d75d418

View File

@ -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 \ if /sbin/restorecon -e /run/media -R /root /var/log /var/run /etc/passwd* /etc/group* /etc/*shadow* 2> /dev/null;then \
continue; \ continue; \
fi; \ fi; \
if /sbin/restorecon -R /home/*/.config 2> /dev/null;then \
continue; \
fi;
%define preInstall() \ %define preInstall() \
if [ $1 -ne 1 ] && [ -s /etc/selinux/config ]; then \ if [ $1 -ne 1 ] && [ -s /etc/selinux/config ]; then \