summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 9ccd94fb1..e985ad531 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -115,12 +115,11 @@ sub probe_category {
grep {
if ($category eq 'network/isdn') {
- my $b = $_->{driver} =~ /ISDN:([^,]*),?([^,]*),?(.*)/;
+ my $b = $_->{driver} =~ /ISDN:([^,]*),?([^,]*)(?:,firmware=(.*))?/;
if ($b) {
$_->{driver} = $1;
$_->{options} = $2;
$_->{firmware} = $3;
- $_->{firmware} =~ s/firmware=//;
$_->{driver} eq "hisax" and $_->{options} .= " id=HiSax";
}
$b;