summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike A. Harris <mharris@redhat.com>2003-03-05 09:14:06 +0000
committerMike A. Harris <mharris@redhat.com>2003-03-05 09:14:06 +0000
commitc674c89bf919fa7f357319a7ce825ba5369ff737 (patch)
tree3fe10f25112709ee012e794134be0992d97814d8
parent5283328a6006420cb3382c0dbef55f715996b91c (diff)
downloadfontconfig-c674c89bf919fa7f357319a7ce825ba5369ff737.tar.gz
Put %post script in {}'s for tidyness, and change the call to fc-cache to
use %{_bindir}/fc-cache
-rw-r--r--fontconfig.spec.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/fontconfig.spec.in b/fontconfig.spec.in
index ab8f405..529f3eb 100644
--- a/fontconfig.spec.in
+++ b/fontconfig.spec.in
@@ -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