summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-06-24 09:52:37 +0000
committerOlivier Blin <oblin@mandriva.org>2004-06-24 09:52:37 +0000
commit6d2b23480d9913160afe8064006a234ed5963e6f (patch)
tree306fd49dc21a5b39575ea0ad2cb04847dc3af514
parent2208add423d821bf289669594a152fba9cc15b04 (diff)
downloaddrakx-6d2b23480d9913160afe8064006a234ed5963e6f.tar
drakx-6d2b23480d9913160afe8064006a234ed5963e6f.tar.gz
drakx-6d2b23480d9913160afe8064006a234ed5963e6f.tar.bz2
drakx-6d2b23480d9913160afe8064006a234ed5963e6f.tar.xz
drakx-6d2b23480d9913160afe8064006a234ed5963e6f.zip
remove unneeded "above" lines in modules::write_conf
-rw-r--r--perl-install/modules.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index b51fc8eec..1f69c86cc 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -302,6 +302,7 @@ sub write_conf() {
# Ensure correct upgrade for snd-via683 and snd-via8233 drivers
s/snd-card/snd/g;
s/snd-via686|snd-via8233/snd-via82xx/g;
+ defined $conf{$alias}{above} or $_ = '';
} elsif ($conf{$alias}{$type} && $conf{$alias}{$type} ne $module) {
my $v = join(' ', uniq(deref($conf{$alias}{$type})));
$_ = "$type $alias $v\n";