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

Peter Hutterer whot at fedoraproject.org
Mon Apr 8 08:48:37 UTC 2013


commit 6bfee3c45a210b5ae078d45ae96c52c599e4411b
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 b8b03fd..0956825 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: 12%{?dist}
+Release: 13%{?dist}
 License: MIT
 Group: User Interface/X
 URL: http://www.x.org
@@ -107,6 +107,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-13
+- Fix opendir error message during font install, missing encodingsdir/large
+  was missing (#928305)
+
 * Thu Mar 07 2013 Dave Airlie <airlied at redhat.com> 7.5-12
 - autoreconf for aarch64
 
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