summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-26 11:55:04 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-26 11:55:04 +0000
commitbdb8da1d8761802650c00f96b89b26bc6bf01181 (patch)
treedecb4cd07ff7c2a439ece19a02a4d99a95fbf1c0 /perl-install/modules.pm
parent2a059cb8defbce800a5deb383214082863014e8f (diff)
downloaddrakx-bdb8da1d8761802650c00f96b89b26bc6bf01181.tar
drakx-bdb8da1d8761802650c00f96b89b26bc6bf01181.tar.gz
drakx-bdb8da1d8761802650c00f96b89b26bc6bf01181.tar.bz2
drakx-bdb8da1d8761802650c00f96b89b26bc6bf01181.tar.xz
drakx-bdb8da1d8761802650c00f96b89b26bc6bf01181.zip
(add_alias) override current setting when adding an alias
Diffstat (limited to 'perl-install/modules.pm')
-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 32b2c2b3b..b011316c0 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -158,7 +158,7 @@ sub add_alias {
$module =~ /ignore/ and return;
/\Q$alias/ && $conf{$_}{alias} && $conf{$_}{alias} eq $module and return $_ foreach keys %conf;
log::l("adding alias $alias to $module");
- $conf{$alias}{alias} ||= $module;
+ $conf{$alias}{alias} = $module;
$conf{$module}{above} = 'snd-pcm-oss' if $module =~ /^snd-/;
$alias;
}