diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-26 11:55:04 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-08-26 11:55:04 +0000 |
commit | bdb8da1d8761802650c00f96b89b26bc6bf01181 (patch) | |
tree | decb4cd07ff7c2a439ece19a02a4d99a95fbf1c0 /perl-install/modules.pm | |
parent | 2a059cb8defbce800a5deb383214082863014e8f (diff) | |
download | drakx-backup-do-not-use-bdb8da1d8761802650c00f96b89b26bc6bf01181.tar drakx-backup-do-not-use-bdb8da1d8761802650c00f96b89b26bc6bf01181.tar.gz drakx-backup-do-not-use-bdb8da1d8761802650c00f96b89b26bc6bf01181.tar.bz2 drakx-backup-do-not-use-bdb8da1d8761802650c00f96b89b26bc6bf01181.tar.xz drakx-backup-do-not-use-bdb8da1d8761802650c00f96b89b26bc6bf01181.zip |
(add_alias) override current setting when adding an alias
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 2 |
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; } |