diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-18 16:44:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-18 16:44:52 +0000 |
commit | e9746d5b1868e7ecdbabce94c47325e05c2f666d (patch) | |
tree | 0c1d2ca28c1c3c7fbddb81d4b3d29572895bded7 /perl-install/printer/main.pm | |
parent | c7a67d1bcbcffaadbbb06be8f11e78e7508eed02 (diff) | |
download | drakx-e9746d5b1868e7ecdbabce94c47325e05c2f666d.tar drakx-e9746d5b1868e7ecdbabce94c47325e05c2f666d.tar.gz drakx-e9746d5b1868e7ecdbabce94c47325e05c2f666d.tar.bz2 drakx-e9746d5b1868e7ecdbabce94c47325e05c2f666d.tar.xz drakx-e9746d5b1868e7ecdbabce94c47325e05c2f666d.zip |
make perl_checker happy
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 f9e712aa9..c00bf1135 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -50,7 +50,7 @@ sub spooler { # LPRng is not officially supported any more since Mandrake 9.0, so # show it only in the spooler menu when it was manually installed. my @res; - if (files_exist((qw(/usr/lib/filters/lpf /usr/sbin/lpd)))) { + if (files_exist(qw(/usr/lib/filters/lpf /usr/sbin/lpd))) { foreach (qw(cups lprng pdq)) { push @res, $spooler_inv{$_}{long_name} }; # {qw(cups lprng pdq)}{long_name}; } else { @@ -982,7 +982,7 @@ sub configure_queue($) { $useUSB ||= $_->{queuedata}{connect} =~ /usb/ || $_->{DeviceURI} =~ /usb/; } - $useUSB ||= ($printer->{currentqueue}{queue}{queuedata}{connect} =~ /usb/); + $useUSB ||= $printer->{currentqueue}{queue}{queuedata}{connect} =~ /usb/; if ($useUSB) { my $f = "$::prefix/etc/sysconfig/usb"; my %usb = getVarsFromSh($f); |