Fix opendir error message during font install, missing encodingsdir/large

was missing (#928305)
This commit is contained in:
Peter Hutterer 2013-04-08 18:47:04 +10:00
parent 54aa6ed22f
commit 6bfee3c45a
2 changed files with 6 additions and 1 deletions

View File

@ -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@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@redhat.com> 7.5-12
- autoreconf for aarch64

View File

@ -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"