diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-31 10:12:12 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-07-31 10:12:12 +0000 |
commit | 1332c73d0cfdd4305f6666b93f5030b6ebcd4ebb (patch) | |
tree | 3ca657e2923a92b71b43e6d1fd94c155fd464c64 | |
parent | 9e6d5347318da13047abc379cfc0ddf65c87b628 (diff) | |
download | drakx-backup-do-not-use-1332c73d0cfdd4305f6666b93f5030b6ebcd4ebb.tar drakx-backup-do-not-use-1332c73d0cfdd4305f6666b93f5030b6ebcd4ebb.tar.gz drakx-backup-do-not-use-1332c73d0cfdd4305f6666b93f5030b6ebcd4ebb.tar.bz2 drakx-backup-do-not-use-1332c73d0cfdd4305f6666b93f5030b6ebcd4ebb.tar.xz drakx-backup-do-not-use-1332c73d0cfdd4305f6666b93f5030b6ebcd4ebb.zip |
"cp -a" doesn't need "echo yes|"
-rw-r--r-- | perl-install/printer.pm | 4 |
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 |