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.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 6095dd3ab..51bab5cae 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -141,11 +141,10 @@ sub probe_category {
if ($category eq 'network/isdn') {
my $b = $_->{driver} =~ /ISDN:([^,]*),?([^,]*)(?:,firmware=(.*))?/;
if ($b) {
- ($_->{type}) = $_->{driver} =~ /type=(\d+)/;
- $_->{driver} = $1;
- $_->{options} = $2;
- $_->{firmware} = $3;
- $_->{driver} eq "hisax" and $_->{options} .= " id=HiSax";
+ $_->{driver} = $1;
+ $_->{firmware} = $3;
+ ($_->{type}) = $2 =~ /type=(\d+)/;
+ $_->{driver} eq "hisax" and $_->{options} .= " id=HiSax";
}
$b;
} else {