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.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index aaaa7022e..b51fc8eec 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -209,7 +209,11 @@ sub remove_alias_regexp($) {
my ($aliased) = @_;
log::l(qq(removing all aliases that match "$aliased"));
foreach (keys %conf) {
- delete $conf{$_}{alias} if /$aliased/;
+ if (/$aliased/) {
+ my $module = $conf{$_}{alias};
+ delete $conf{$module}{above} if $module =~ /^snd-/;
+ delete $conf{$_}{alias};
+ }
}
}