[xorg-x11-font-utils/f18] Fix opendir error message during font install, missing encodingsdir/large

Peter Hutterer whot at fedoraproject.org
Mon Apr 8 09:12:02 UTC 2013


commit beb5204e663e6588b6a1ab89870d77178bebd3b1
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Mon Apr 8 18:47:04 2013 +1000

    Fix opendir error message during font install, missing encodingsdir/large
    
      was missing (#928305)

 xorg-x11-font-utils.spec   |    6 +++++-
 xorg-x11-fonts-update-dirs |    1 +
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/xorg-x11-font-utils.spec b/xorg-x11-font-utils.spec
index b496c2b..1df7ef9 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: 10%{?dist}
+Release: 11%{?dist}
 License: MIT
 Group: User Interface/X
 URL: http://www.x.org
@@ -105,6 +105,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/ucs2any.1*
 
 %changelog
+* Mon Apr 08 2013 Peter Hutterer <peter.hutterer at redhat.com> 1:7.5-11
+- Fix opendir error message during font install, missing encodingsdir/large
+  was missing (#928305)
+
 * Fri Dec 14 2012 Peter Hutterer <peter.hutterer at redhat.com> 1:7.5-10
 - Add the epoch to the Provides bdftruncate. bdftruncate had an epoch for
   years, make sure that stays alive
diff --git a/xorg-x11-fonts-update-dirs b/xorg-x11-fonts-update-dirs
index 536bfe8..9d2725c 100755
--- a/xorg-x11-fonts-update-dirs
+++ b/xorg-x11-fonts-update-dirs
@@ -51,6 +51,7 @@ fc-cache $fontdir
 
 if ! [ -z "$encodingsdir" ]; then
     [ -d "$encodingsdir" ] || mkdir -p "$encodingsdir"
+    [ -d "$encodingsdir/large" ] || mkdir -p "$encodingsdir/large"
     oldpwd=$(pwd)
     cd "$encodingsdir"
     mkfontscale -n -e "$encodingsdir" -e "$encodingsdir/large"


More information about the fonts-bugs mailing list