mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 23:12:55 +00:00
just do not update selinux context for /srv/cache, /srv/git
This commit is contained in:
parent
830da7b444
commit
bf8bdb8685
1 changed files with 1 additions and 8 deletions
|
@ -146,14 +146,7 @@ done
|
|||
|
||||
%posttrans selinux
|
||||
if /usr/sbin/selinuxenabled ; then
|
||||
if [ -f %{file_context_file_pre} ]; then
|
||||
/usr/sbin/fixfiles -C %{file_context_file_pre} restore
|
||||
rm -f %{file_context_file_pre}
|
||||
else
|
||||
%{_sbindir}/restorecon -Rv /srv/git/ || :
|
||||
%{_sbindir}/restorecon -Rv /srv/cache/ || :
|
||||
%{_sbindir}/restorecon -Rv /srv/web/ || :
|
||||
fi
|
||||
%{_sbindir}/restorecon -Rv /srv/web/ || :
|
||||
fi
|
||||
|
||||
%postun selinux
|
||||
|
|
Loading…
Add table
Reference in a new issue