Put %post script in {}'s for tidyness, and change the call to fc-cache to

use %{_bindir}/fc-cache
This commit is contained in:
Mike A. Harris 2003-03-05 09:14:06 +00:00
parent 5283328a60
commit c674c89bf9
1 changed files with 5 additions and 4 deletions

View File

@ -53,10 +53,11 @@ make %{_smp_mflags}
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
# Force regeneration of all fontconfig cache files.
fc-cache -f --system-only
{
/sbin/ldconfig
# Force regeneration of all fontconfig cache files.
%{_bindir}/fc-cache -f --system-only
}
%postun -p /sbin/ldconfig