- ugh, braindamaged reversed condition in the font provide extractor "fix"

This commit is contained in:
Panu Matilainen 2010-07-02 10:22:11 +00:00
parent cc06306cbe
commit 0a9294bf7f
2 changed files with 5 additions and 2 deletions

View File

@ -19,7 +19,7 @@ index 8638680..594851d 100755
fcquery=/usr/bin/fc-query
-[ -x $fcquery ] || exit 0
+if [ -x $fcquery ]; then
+if [ ! -x $fcquery ]; then
+ cat > /dev/null
+ exit 0
+fi

View File

@ -21,7 +21,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
Release: 2%{?dist}
Release: 3%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/rpm-4.8.x/%{name}-%{srcver}.tar.bz2
@ -414,6 +414,9 @@ exit 0
%doc doc/librpm/html/*
%changelog
* Fri Jul 02 2010 Panu Matilainen <pmatilai@redhat.com> - 4.8.1-3
- ugh, reversed condition braindamage in the font provide extractor "fix"
* Wed Jun 30 2010 Panu Matilainen <pmatilai@redhat.com> - 4.8.1-2
- fix a potential getOutputFrom() error from font provide extraction
- debug-friendlier message to aid finding other similar cases (#565223)