summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2005-02-08 20:12:39 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2005-02-08 20:12:39 +0000
commit7d130d0e83bd8376ac737e8952c2c4097637344c (patch)
tree7cba163c9a3b204d7f556c47199081dc5505a439 /perl-install
parente9211b0399325da591b4f7ccf4c6bfc3e122b64d (diff)
downloaddrakx-backup-do-not-use-7d130d0e83bd8376ac737e8952c2c4097637344c.tar
drakx-backup-do-not-use-7d130d0e83bd8376ac737e8952c2c4097637344c.tar.gz
drakx-backup-do-not-use-7d130d0e83bd8376ac737e8952c2c4097637344c.tar.bz2
drakx-backup-do-not-use-7d130d0e83bd8376ac737e8952c2c4097637344c.tar.xz
drakx-backup-do-not-use-7d130d0e83bd8376ac737e8952c2c4097637344c.zip
Updated device destinctions for HPOJ to the newest models.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/printer/printerdrake.pm20
1 files changed, 10 insertions, 10 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index 04cfdfac3..4ab78852f 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -2059,10 +2059,10 @@ sub setup_common {
local $::isWizard = 0;
if (!$printer->{noninteractive}) {
$isHPOJ = $in->ask_yesorno(N("Add a new printer"),
- N("Is your printer a multi-function device from HP or Sony (OfficeJet, PSC, LaserJet 1100/1200/1220/3200/3300 with scanner, DeskJet 450, Sony IJP-V100), an HP PhotoSmart or an HP LaserJet 2200?"), 0);
+ N("Is your printer a multi-function device from HP or Sony (OfficeJet, PSC, LaserJet 1100/1200/1220/3000/3200/3300/4345 with scanner, DeskJet 450, Sony IJP-V100), an HP PhotoSmart or an HP LaserJet 2200?"), 0);
}
}
- if ($makemodel =~ /HP\s+(OfficeJet|PSC|PhotoSmart|LaserJet\s+(1200|1220|2200|3200|33.0)|(DeskJet|dj)\s*450)/i ||
+ if ($makemodel =~ /HP\s+(OfficeJet|PSC|PhotoSmart|LaserJet\s+(1200|1220|2200|30(15|20|30)|3200|33.0|4345)|(DeskJet|dj)\s*450)/i ||
$makemodel =~ /Sony\s+IJP[\s\-]+V[\s\-]+100/i ||
$isHPOJ) {
# Install HPOJ package
@@ -2159,12 +2159,12 @@ sub setup_common {
# Configure photo card access with mtools and MToolsFM
if (($makemodel =~ /HP\s+PhotoSmart/i ||
$makemodel =~ /HP\s+PSC\s*9[05]0/i ||
- $makemodel =~ /HP\s+PSC\s*135\d/i ||
- $makemodel =~ /HP\s+PSC\s*21[57]\d/i ||
- $makemodel =~ /HP\s+PSC\s*22\d\d/i ||
- $makemodel =~ /HP\s+PSC\s*2[45]\d\d/i ||
+ $makemodel =~ /HP\s+PSC\s*13[15]\d/i ||
+ $makemodel =~ /HP\s+PSC\s*161\d/i ||
+ $makemodel =~ /HP\s+PSC\s*2\d\d\d/i ||
$makemodel =~ /HP\s+OfficeJet\s+D\s*1[45]5/i ||
$makemodel =~ /HP\s+OfficeJet\s+71[34]0/i ||
+ $makemodel =~ /HP\s+OfficeJet\s+91\d\d/i ||
$makemodel =~ /HP\s+(DeskJet|dj)\s*450/i) &&
$makemodel !~ /HP\s+PhotoSmart\s+7150/i) {
# Install mtools and MToolsFM
@@ -3597,12 +3597,12 @@ sub photocard_help {
my $ptaldevice = $1;
if (($makemodel =~ /HP\s+PhotoSmart/i ||
$makemodel =~ /HP\s+PSC\s*9[05]0/i ||
- $makemodel =~ /HP\s+PSC\s*135\d/i ||
- $makemodel =~ /HP\s+PSC\s*21[57]\d/i ||
- $makemodel =~ /HP\s+PSC\s*22\d\d/i ||
- $makemodel =~ /HP\s+PSC\s*2[45]\d\d/i ||
+ $makemodel =~ /HP\s+PSC\s*13[15]\d/i ||
+ $makemodel =~ /HP\s+PSC\s*161\d/i ||
+ $makemodel =~ /HP\s+PSC\s*2\d\d\d/i ||
$makemodel =~ /HP\s+OfficeJet\s+D\s*1[45]5/i ||
$makemodel =~ /HP\s+OfficeJet\s+71[34]0/i ||
+ $makemodel =~ /HP\s+OfficeJet\s+91\d\d/i ||
$makemodel =~ /HP\s+(DeskJet|dj)\s*450/i) &&
$makemodel !~ /HP\s+PhotoSmart\s+7150/i) {
# Models with built-in photo card drives