Fix opendir error message during font install, missing encodingsdir/large
was missing (#928305)
This commit is contained in:
parent
54aa6ed22f
commit
6bfee3c45a
@ -6,7 +6,7 @@ Name: xorg-x11-%{pkgname}
|
|||||||
# IMPORTANT: If package ever gets renamed to something else, remove the Epoch line!
|
# IMPORTANT: If package ever gets renamed to something else, remove the Epoch line!
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 7.5
|
Version: 7.5
|
||||||
Release: 12%{?dist}
|
Release: 13%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
URL: http://www.x.org
|
URL: http://www.x.org
|
||||||
@ -107,6 +107,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/ucs2any.1*
|
%{_mandir}/man1/ucs2any.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 07 2013 Dave Airlie <airlied@redhat.com> 7.5-12
|
||||||
- autoreconf for aarch64
|
- autoreconf for aarch64
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ fc-cache $fontdir
|
|||||||
|
|
||||||
if ! [ -z "$encodingsdir" ]; then
|
if ! [ -z "$encodingsdir" ]; then
|
||||||
[ -d "$encodingsdir" ] || mkdir -p "$encodingsdir"
|
[ -d "$encodingsdir" ] || mkdir -p "$encodingsdir"
|
||||||
|
[ -d "$encodingsdir/large" ] || mkdir -p "$encodingsdir/large"
|
||||||
oldpwd=$(pwd)
|
oldpwd=$(pwd)
|
||||||
cd "$encodingsdir"
|
cd "$encodingsdir"
|
||||||
mkfontscale -n -e "$encodingsdir" -e "$encodingsdir/large"
|
mkfontscale -n -e "$encodingsdir" -e "$encodingsdir/large"
|
||||||
|
Loading…
Reference in New Issue
Block a user