diff options
author | Till Kamppeter <tkamppeter@mandriva.com> | 2003-09-15 16:38:58 +0000 |
---|---|---|
committer | Till Kamppeter <tkamppeter@mandriva.com> | 2003-09-15 16:38:58 +0000 |
commit | c4856adc6cd6dd79ed8dbec5c5c4e5dcf1fd2e05 (patch) | |
tree | c05274a5ccb56e4544f04c2c1ab782f033e1cfc8 /perl-install/printer | |
parent | e032df45a0b6c4caf6bbd15d062c15e0058d372a (diff) | |
download | drakx-backup-do-not-use-c4856adc6cd6dd79ed8dbec5c5c4e5dcf1fd2e05.tar drakx-backup-do-not-use-c4856adc6cd6dd79ed8dbec5c5c4e5dcf1fd2e05.tar.gz drakx-backup-do-not-use-c4856adc6cd6dd79ed8dbec5c5c4e5dcf1fd2e05.tar.bz2 drakx-backup-do-not-use-c4856adc6cd6dd79ed8dbec5c5c4e5dcf1fd2e05.tar.xz drakx-backup-do-not-use-c4856adc6cd6dd79ed8dbec5c5c4e5dcf1fd2e05.zip |
Small fix on LIDIL workaround.
Diffstat (limited to 'perl-install/printer')
-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 a099eac69..5bd467b03 100644 --- a/perl-install/printer/main.pm +++ b/perl-install/printer/main.pm @@ -2186,6 +2186,8 @@ sub configure_hpoj { # Check if the device is really an HP multi-function device #my $libusb = 0; foreach my $libusb (0, 1) { + # Do access via libusb/user mode only if we have a USB device + next if ($libusb && ($bus ne "usb")); # Preliminary workaround to make the user-mode USB devices # (LIDIL devices) installable as verification of the HPOJ # settings of these devices does not work yet. The workaround @@ -2197,8 +2199,6 @@ sub configure_hpoj { $device_ok = 1; next; } - # Do access via libusb/user mode only if we have a USB device - next if ($libusb && ($bus ne "usb")); my $printermoduleunloaded = 0; if ($bus ne "hpjd") { if (!$libusb) { |