/etc/grub2*.cfg symlinks can be customized to point somewhere else - make them %config(noreplace)

This commit is contained in:
Mads Kiilerich 2011-10-27 17:09:03 +02:00 committed by Peter Jones
parent d5f74283a0
commit 21f0c0b86e

View File

@ -300,7 +300,7 @@ fi
%dir %{_sysconfdir}/grub.d
%config %{_sysconfdir}/grub.d/??_*
%{_sysconfdir}/grub.d/README
%{_sysconfdir}/%{name}.cfg
%config(noreplace) %{_sysconfdir}/%{name}.cfg
%config(noreplace) %{_sysconfdir}/default/grub
%dir /boot/%{name}
%config(noreplace) /boot/%{name}/grub.cfg
@ -347,7 +347,7 @@ fi
%dir %{_sysconfdir}/grub.d
%config %{_sysconfdir}/grub.d/??_*
%{_sysconfdir}/grub.d/README
%{_sysconfdir}/grub2-efi.cfg
%config(noreplace) %{_sysconfdir}/grub2-efi.cfg
%config(noreplace) %{_sysconfdir}/default/grub
%dir /boot/grub2-efi
%config(noreplace) /boot/grub2-efi/grub.cfg