Put %post script in {}'s for tidyness, and change the call to fc-cache to
use %{_bindir}/fc-cache
This commit is contained in:
parent
5283328a60
commit
c674c89bf9
|
@ -53,10 +53,11 @@ make %{_smp_mflags}
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
{
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
# Force regeneration of all fontconfig cache files.
|
# Force regeneration of all fontconfig cache files.
|
||||||
fc-cache -f --system-only
|
%{_bindir}/fc-cache -f --system-only
|
||||||
|
}
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue