From 0d6ed3abcf8ff5cf576e9185bce1f77d966904c1 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Sun, 29 May 2005 17:17:34 +0000 Subject: - Support for PPD file names with spaces (bug #16172). --- perl-install/printer/main.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/printer/main.pm') diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index d7eb593fd..55b2ca727 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -674,9 +674,9 @@ sub read_ppd_options ($) { "foomatic-configure -P -q" . if_($printer->{currentqueue}{ppd} && ($printer->{currentqueue}{ppd} ne '1'), - " --ppd " . ($printer->{currentqueue}{ppd} !~ m!^/! ? + " --ppd \'" . ($printer->{currentqueue}{ppd} !~ m!^/! ? "/usr/share/cups/model/" : "") . - $printer->{currentqueue}{ppd}) . + $printer->{currentqueue}{ppd} . "\'") . ($printer->{OLD_QUEUE} ? " -s $printer->{SPOOLER} -n $printer->{OLD_QUEUE}" : "") . ($printer->{SPECIAL_OPTIONS} ? -- cgit v1.2.1