From 1332c73d0cfdd4305f6666b93f5030b6ebcd4ebb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 31 Jul 2002 10:12:12 +0000 Subject: "cp -a" doesn't need "echo yes|" --- perl-install/printer.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'perl-install') diff --git a/perl-install/printer.pm b/perl-install/printer.pm index 2e8c2b7a7..9ac3d7524 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -1169,9 +1169,7 @@ sub configure_queue($) { if (($printer->{currentqueue}{queue} ne $printer->{OLD_QUEUE}) && ($printer->{configured}{$printer->{OLD_QUEUE}})) { - system("echo yes | cp -f " . - "$prefix/etc/cups/ppd/$printer->{OLD_QUEUE}.ppd " . - "$prefix/etc/cups/ppd/$printer->{currentqueue}{queue}.ppd"); + system("cp -f $prefix/etc/cups/ppd/$printer->{OLD_QUEUE}.ppd $prefix/etc/cups/ppd/$printer->{currentqueue}{queue}.ppd"); } } else { # Raw queue -- cgit v1.2.1