summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 979448fba..c5bc80690 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -258,7 +258,7 @@ sub write_conf {
# Convert alsa driver from old naming system to new one (snd-card-XXX => snd-XXX)
# Ensure correct upgrade for snd-via683 and snd-via8233 drivers
s/snd-card/snd/g;
- s/^snd-via686|^snd-via8233/snd-via82xx/g;
+ s/^snd-via686|snd-via8233/snd-via82xx/g;
} elsif ($conf{$alias}{$type} && $conf{$alias}{$type} ne $module) {
my $v = join(' ', uniq(deref($conf{$alias}{$type})));
$_ = "$type $alias $v\n";