summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/printer.pm4
1 files changed, 1 insertions, 3 deletions
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