summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/printerdrake.pm
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2003-09-15 02:17:35 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2003-09-15 02:17:35 +0000
commitf6b0433d271b00ed030898cff3a3e5672f8c7a6f (patch)
tree8bc411eef0e7c15281a7156fb54c91902c1be260 /perl-install/printer/printerdrake.pm
parentf27a5486429839521597540e34ea781277ee6ded (diff)
downloaddrakx-f6b0433d271b00ed030898cff3a3e5672f8c7a6f.tar
drakx-f6b0433d271b00ed030898cff3a3e5672f8c7a6f.tar.gz
drakx-f6b0433d271b00ed030898cff3a3e5672f8c7a6f.tar.bz2
drakx-f6b0433d271b00ed030898cff3a3e5672f8c7a6f.tar.xz
drakx-f6b0433d271b00ed030898cff3a3e5672f8c7a6f.zip
Added support for user-mode-only HPOJ devices (HP PSC 1xxx and
OfficeJet 4xxx). Fixes bug #5641.
Diffstat (limited to 'perl-install/printer/printerdrake.pm')
-rw-r--r--perl-install/printer/printerdrake.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index 648028b10..f37f3bc32 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -1785,12 +1785,13 @@ sub setup_common {
# Install HPOJ package
if (!$::testing &&
!files_exist(qw(/usr/sbin/ptal-mlcd
- /usr/sbin/ptal-init
- /usr/bin/xojpanel))) {
+ /usr/sbin/ptal-init
+ /usr/bin/xojpanel
+ /usr/sbin/lsusb))) {
$w = $in->wait_message(N("Printerdrake"),
N("Installing HPOJ package..."))
if !$printer->{noninteractive};
- $in->do_pkgs->install('hpoj', 'xojpanel');
+ $in->do_pkgs->install('hpoj', 'xojpanel', 'usbutils');
}
# Configure and start HPOJ
undef $w;