diff options
Diffstat (limited to 'perl-install/printer')
-rw-r--r-- | perl-install/printer/main.pm | 4 |
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} ? |