summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-07-07 07:26:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-07-07 07:26:39 +0000
commit4b0e1b36d2cf1d6552c4491744a171fdc5fa1e67 (patch)
tree45bc51acd33164a234deaaa4d2540e249da8c78a
parent3dacb4c999fe9423d8b2300186139374868f042e (diff)
downloaddrakx-4b0e1b36d2cf1d6552c4491744a171fdc5fa1e67.tar
drakx-4b0e1b36d2cf1d6552c4491744a171fdc5fa1e67.tar.gz
drakx-4b0e1b36d2cf1d6552c4491744a171fdc5fa1e67.tar.bz2
drakx-4b0e1b36d2cf1d6552c4491744a171fdc5fa1e67.tar.xz
drakx-4b0e1b36d2cf1d6552c4491744a171fdc5fa1e67.zip
fix indentation
-rw-r--r--perl-install/modules.pm16
1 files changed, 8 insertions, 8 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index fccd3b24e..86fa1840e 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -299,18 +299,18 @@ sub write_conf() {
} elsif ($type eq 'alias' && $alias =~ /scsi_hostadapter|usb-interface/) {
#- remove old aliases which are replaced by probeall
$_ = '';
- } elsif ($type eq 'above') {
- # 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;
- defined $conf{$alias}{above} or $_ = '';
+ } elsif ($type eq 'above') {
+ # 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;
+ 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";
} elsif ($type eq 'alias' && !defined $conf{$alias}{alias}) {
- $_ = '';
- }
+ $_ = '';
+ }
} $file;
my $written = read_conf($file);