summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2001-08-16 13:18:54 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2001-08-16 13:18:54 +0000
commiteec69b88550e134113a14014c637e5401300fa70 (patch)
tree3be32e20d1b1d7694a7ea6fe5ccc24ce96f439a2
parent52359604e66ef2e0bc09f61e48ce9eb0ca9e80f0 (diff)
downloaddrakx-backup-do-not-use-eec69b88550e134113a14014c637e5401300fa70.tar
drakx-backup-do-not-use-eec69b88550e134113a14014c637e5401300fa70.tar.gz
drakx-backup-do-not-use-eec69b88550e134113a14014c637e5401300fa70.tar.bz2
drakx-backup-do-not-use-eec69b88550e134113a14014c637e5401300fa70.tar.xz
drakx-backup-do-not-use-eec69b88550e134113a14014c637e5401300fa70.zip
Fixed setup dialog for the "postpipe" connection type
-rw-r--r--perl-install/printerdrake.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printerdrake.pm b/perl-install/printerdrake.pm
index 5fcb5997e..126e60a27 100644
--- a/perl-install/printerdrake.pm
+++ b/perl-install/printerdrake.pm
@@ -523,7 +523,7 @@ list => [ $printer->{currentqueue}{'connect'},
"smb://",
"ncp://",
"socket://",
- "postpipe:",
+ "postpipe:\"\"",
], not_edit => 0 }, ],
complete => sub {
unless ($printer->{currentqueue}{'connect'} =~ /[^:]+:.+/) {
@@ -572,7 +572,7 @@ sub setup_postpipe {
if (($printer->{configured}{$queue}) &&
($printer->{currentqueue}{'connect'} =~ m/^postpipe:/)) {
$uri = $printer->{currentqueue}{'connect'};
- $uri =~ m!^\s*postpipe:(.*)$!;
+ $uri =~ m!^\s*postpipe:\"(.*)\"$!;
$commandline = $1;
} else {
$commandline = "";