diff options
-rwxr-xr-x | perl-install/scanner.pm | 3 | ||||
-rw-r--r-- | perl-install/share/rpmsrate | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/scanner.pm b/perl-install/scanner.pm index 7f843bc3e..08ac062a8 100755 --- a/perl-install/scanner.pm +++ b/perl-install/scanner.pm @@ -48,9 +48,10 @@ sub confScanner { next if $line =~ /\$VENDOR/; $line =~ s/\$PRODUCT/$product/g if $product; next if $line =~ /\$PRODUCT/; - $line =~ /^(\S+)LINE\s+(.*?)$/; + $line =~ /^(\S*)LINE\s+(.*?)$/; my $linetype = $1; $line = $2; + next if !$line; if (!$linetype or ($linetype eq "USB" and ($port =~ /usb/i or $vendor)) or ($linetype eq "PARPORT" and !$vendor and diff --git a/perl-install/share/rpmsrate b/perl-install/share/rpmsrate index 7f9815725..3ac18325b 100644 --- a/perl-install/share/rpmsrate +++ b/perl-install/share/rpmsrate @@ -550,7 +550,7 @@ INSTALL autologin ntp cups-drivers samba ncpfs hpoj ucd-snmp libptal0 libhpojip0 libsnmp0 xojpanel libsane-hpoj0 ipchains shorewall iptables printer-utils rlpr samba-client - xpp pdq printer-testpages nmap scli net-tools + xpp printer-testpages nmap scli net-tools autologin ntp ipchains cups lpr printer-utils printer-testpages gimpprint xpp foomatic-db-engine foomatic-filters foomatic-db |