[xorg-x11-font-utils] - Fix need_ttmkfdir test in xorg-x11-fonts-update-dirs script (#655925)

Peter Hutterer whot at fedoraproject.org
Wed Nov 24 04:03:54 UTC 2010


commit 44c9143d57019f331c144a83453144fc3f60677b
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Wed Nov 24 14:02:13 2010 +1000

    - Fix need_ttmkfdir test in xorg-x11-fonts-update-dirs script (#655925)

 xorg-x11-font-utils.spec   |    5 ++++-
 xorg-x11-fonts-update-dirs |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/xorg-x11-font-utils.spec b/xorg-x11-font-utils.spec
index 876a487..b4db072 100644
--- a/xorg-x11-font-utils.spec
+++ b/xorg-x11-font-utils.spec
@@ -6,7 +6,7 @@ Name: xorg-x11-%{pkgname}
 # IMPORTANT: If package ever gets renamed to something else, remove the Epoch line!
 Epoch: 1
 Version: 7.5
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: MIT
 Group: User Interface/X
 URL: http://www.x.org
@@ -129,6 +129,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Nov 24 2010 Peter Hutterer <peter.hutterer at redhat.com> 1:7.5-4
+- Fix need_ttmkfdir test in xorg-x11-fonts-update-dirs script (#655925)
+
 * Fri Nov 19 2010 Peter Hutterer <peter.hutterer at redhat.com> 1:7.5-3
 - Add xorg-x11-fonts-update-dirs, a script to automake mkfontscale and
   friends as well as generate encodings directories during %post (used by
diff --git a/xorg-x11-fonts-update-dirs b/xorg-x11-fonts-update-dirs
index e481af6..88c6e66 100755
--- a/xorg-x11-fonts-update-dirs
+++ b/xorg-x11-fonts-update-dirs
@@ -42,7 +42,7 @@ done
 if [ "$skip_fontscale" != "yes" ]; then
     mkfontscale $fontdir
 fi
-if [ "$need_ttmkfdir" != "yes" ]; then
+if [ "$need_ttmkfdir" = "yes" ]; then
     ttmkfdir $fontdir
 fi
 


More information about the fonts-bugs mailing list