diff options
author | Francois Pons <fpons@mandriva.com> | 2000-04-19 13:28:31 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-04-19 13:28:31 +0000 |
commit | 6a05c7c12fcc70058febc82d139dbe4155ac951b (patch) | |
tree | b569858f49c183313b4ba549609d4d41b997a457 /perl-install/printer.pm | |
parent | 9ac13461f4c9348b073f33b2331ffdd7d5b70bd5 (diff) | |
download | drakx-backup-do-not-use-6a05c7c12fcc70058febc82d139dbe4155ac951b.tar drakx-backup-do-not-use-6a05c7c12fcc70058febc82d139dbe4155ac951b.tar.gz drakx-backup-do-not-use-6a05c7c12fcc70058febc82d139dbe4155ac951b.tar.bz2 drakx-backup-do-not-use-6a05c7c12fcc70058febc82d139dbe4155ac951b.tar.xz drakx-backup-do-not-use-6a05c7c12fcc70058febc82d139dbe4155ac951b.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/printer.pm')
-rw-r--r-- | perl-install/printer.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/printer.pm b/perl-install/printer.pm index ab3464b9a..69a8db954 100644 --- a/perl-install/printer.pm +++ b/perl-install/printer.pm @@ -702,11 +702,13 @@ sub restart_queue($) { run_program::rooted($prefix, "lpd"); sleep 1; } -sub print_pages($$@) { +sub print_pages($@) { my ($queue, @pages) = @_; require run_program; - run_program::rooted($prefix, "lpr", "-P$queue", $_) foreach @pages; + foreach (@pages) { + run_program::rooted($prefix, "lpr", "-P$queue", $_); + } sleep 5; #- allow lpr to send pages. local *F; |