Commit c674c89b authored by Mike A. Harris's avatar Mike A. Harris

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

    use %{_bindir}/fc-cache
parent 5283328a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment