summaryrefslogtreecommitdiffstats
path: root/perl-install/printer.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-04-19 13:28:31 +0000
committerFrancois Pons <fpons@mandriva.com>2000-04-19 13:28:31 +0000
commit6a05c7c12fcc70058febc82d139dbe4155ac951b (patch)
treeb569858f49c183313b4ba549609d4d41b997a457 /perl-install/printer.pm
parent9ac13461f4c9348b073f33b2331ffdd7d5b70bd5 (diff)
downloaddrakx-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.pm6
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;