Merge branch 'f22'
This commit is contained in:
commit
311627ff9a
@ -388,13 +388,17 @@ def update_ppd (ppd_source_filename):
|
||||
inp = input ("Update PPD %s from %s [nyq]? " % ppd_source_filename)
|
||||
inp = inp.lower ()
|
||||
if inp.startswith ("q"):
|
||||
if not server_multicat:
|
||||
if server_multicat:
|
||||
source_fd.detach ()
|
||||
else:
|
||||
source_fd.close ()
|
||||
|
||||
print ("Skipping all...")
|
||||
return -2
|
||||
elif not inp.startswith ("y"):
|
||||
if not server_multicat:
|
||||
if server_multicat:
|
||||
source_fd.detach ()
|
||||
else:
|
||||
source_fd.close ()
|
||||
|
||||
print ("Skipping...")
|
||||
@ -410,7 +414,9 @@ def update_ppd (ppd_source_filename):
|
||||
# Close original and temporary files...
|
||||
|
||||
orig.close ()
|
||||
if not server_multicat:
|
||||
if server_multicat:
|
||||
source_fd.detach ()
|
||||
else:
|
||||
source_fd.close ()
|
||||
|
||||
orig_default_types = odt
|
||||
@ -780,6 +786,7 @@ def get_ppd_fh (ppd_source_filename, filename, driver, locale, region):
|
||||
mc_in = io.TextIOWrapper (server_multicat_initialized.stdin)
|
||||
print ("%s" % url, file=mc_in)
|
||||
mc_in.flush ()
|
||||
mc_in.detach ()
|
||||
return (new_ppd_filename,
|
||||
io.TextIOWrapper (server_multicat_initialized.stdout))
|
||||
except OSError:
|
||||
|
@ -3,7 +3,7 @@
|
||||
Name: gutenprint
|
||||
Summary: Printer Drivers Package
|
||||
Version: 5.2.10
|
||||
Release: 14%{?dist}
|
||||
Release: 15%{?dist}
|
||||
URL: http://gimp-print.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/gimp-print/%{name}-%{version}.tar.bz2
|
||||
# Post-install script to update foomatic PPDs.
|
||||
@ -283,6 +283,9 @@ fi
|
||||
/bin/rm -f /var/cache/foomatic/*
|
||||
|
||||
%changelog
|
||||
* Mon Jun 29 2015 Tim Waugh <twaugh@redhat.com> - 5.2.10-15
|
||||
- Fix for PPD update script with more than one PPD (bug #1229619).
|
||||
|
||||
* Tue Jun 16 2015 Tim Waugh <twaugh@redhat.com> - 5.2.10-14
|
||||
- Disable test suite again (bug #1069274).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user