[Fontconfig] suggested fixfor rpm's overwriting local.conf
sean darcy
seandarcy at hotmail.com
Sun Apr 27 13:12:57 EST 2003
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
More information about the Fontconfig
mailing list