suggested fixfor rpm's overwriting local.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As you know the fontconfig.spec causes locl.conf to be overwritten, when 
local.conf is supposed to be the user's config file. After messing around 
with some messy %pre scripts for fontconfig.spec, I found the Easy Way (tm).

  %{_sysconfdir}/fonts/fonts.conf
  %{_sysconfdir}/fonts/fonts.dtd
- %config %{_sysconfdir}/fonts/local.conf
+ %config(noreplace) %{_sysconfdir}/fonts/local.conf
  %{_bindir}/fc-*
  %{_libdir}/libfontconfig*.so.*
  %{_mandir}/man5/*


You should have a real rpm'er look at it, bit I tried it and it Works For 
Me.

sean

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux