From eec69b88550e134113a14014c637e5401300fa70 Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Thu, 16 Aug 2001 13:18:54 +0000 Subject: Fixed setup dialog for the "postpipe" connection type --- perl-install/printerdrake.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/printerdrake.pm') 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 = ""; -- cgit v1.2.1