Re-create installed hpcups PPDs unconditionally (bug #712241).

This commit is contained in:
Tim Waugh 2011-06-10 10:54:30 +01:00
parent 8a35e1738d
commit dad70eb536
2 changed files with 4 additions and 5 deletions

View File

@ -57,10 +57,6 @@ do
[ -z "${nickname##*, hpcups*}" ] || continue
$debug && echo "hpcups: true"
# Does it have an hpPrinterLanguage attribute?
grep -q '^\*hpPrinterLanguage:' "$ppd" &>/dev/null && continue
$debug && echo "No hpPrinterLanguage attribute"
# No: need to regenerate the PPD.
if [ ! -f "$tmpdir/models" ]
then

View File

@ -1,7 +1,7 @@
Summary: HP Linux Imaging and Printing Project
Name: hplip
Version: 3.11.5
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+ and MIT
Group: System Environment/Daemons
Conflicts: system-config-printer < 0.6.132
@ -516,6 +516,9 @@ fi
%postun libs -p /sbin/ldconfig
%changelog
* Fri Jun 10 2011 Tim Waugh <twaugh@redhat.com> 3.11.5-3
- Re-create installed hpcups PPDs unconditionally (bug #712241).
* Thu May 19 2011 Jiri Popelka <jpopelka@redhat.com> 3.11.5-2
- Main package requires wget to avoid
misleading errors about network connectivity (bug #705843).