summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2005-05-29 17:17:34 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2005-05-29 17:17:34 +0000
commit0d6ed3abcf8ff5cf576e9185bce1f77d966904c1 (patch)
treedcf8348df8bcfadd1f35b6f97291e25ba75679b9
parent867c09c3f332356d7e8d02ce4df3525ca3d51040 (diff)
downloaddrakx-0d6ed3abcf8ff5cf576e9185bce1f77d966904c1.tar
drakx-0d6ed3abcf8ff5cf576e9185bce1f77d966904c1.tar.gz
drakx-0d6ed3abcf8ff5cf576e9185bce1f77d966904c1.tar.bz2
drakx-0d6ed3abcf8ff5cf576e9185bce1f77d966904c1.tar.xz
drakx-0d6ed3abcf8ff5cf576e9185bce1f77d966904c1.zip
- Support for PPD file names with spaces (bug #16172).
-rw-r--r--perl-install/printer/main.pm4
1 files changed, 2 insertions, 2 deletions
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} ?