diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-27 20:50:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-27 20:50:12 +0000 |
commit | b0d554c4155060ed665844fdf7b2a08db9bb3356 (patch) | |
tree | d1236029c2ac147b49a2da74bf132c3f56619406 /perl-install/printer/main.pm | |
parent | c2b148e1e94892d8d72000ed087b607ae28b5808 (diff) | |
download | drakx-backup-do-not-use-b0d554c4155060ed665844fdf7b2a08db9bb3356.tar drakx-backup-do-not-use-b0d554c4155060ed665844fdf7b2a08db9bb3356.tar.gz drakx-backup-do-not-use-b0d554c4155060ed665844fdf7b2a08db9bb3356.tar.bz2 drakx-backup-do-not-use-b0d554c4155060ed665844fdf7b2a08db9bb3356.tar.xz drakx-backup-do-not-use-b0d554c4155060ed665844fdf7b2a08db9bb3356.zip |
perl_checker adaptations
Diffstat (limited to 'perl-install/printer/main.pm')
-rw-r--r-- | perl-install/printer/main.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/printer/main.pm b/perl-install/printer/main.pm index a93daf28f..6eaa34561 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -58,7 +58,7 @@ sub spooler { sub printer_type($) { my ($printer) = @_; - foreach ($printer->{SPOOLER}) { + for ($printer->{SPOOLER}) { /cups/ && return @printer_type_inv{qw(LOCAL), qw(LPD SOCKET SMB), $::expert ? qw(URI) : ()}; @@ -1045,7 +1045,7 @@ sub restart_queue($) { my $queue = $printer->{QUEUE}; # Restart the daemon(s) - foreach ($printer->{SPOOLER}) { + for ($printer->{SPOOLER}) { /cups/ && do { #- restart cups. printer::services::restart("cups"); |