diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-04 22:25:15 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-04 22:25:15 +0000 |
commit | 9602001c7823079a8e8ca0e737a8fe2f6c0db0d2 (patch) | |
tree | 6a4a4b5bb040972c82f8f23a7f154b7631d95591 /perl-install/bootloader.pm | |
parent | b5b714420602230508f199cb392d21c4410a4f1d (diff) | |
download | drakx-backup-do-not-use-9602001c7823079a8e8ca0e737a8fe2f6c0db0d2.tar drakx-backup-do-not-use-9602001c7823079a8e8ca0e737a8fe2f6c0db0d2.tar.gz drakx-backup-do-not-use-9602001c7823079a8e8ca0e737a8fe2f6c0db0d2.tar.bz2 drakx-backup-do-not-use-9602001c7823079a8e8ca0e737a8fe2f6c0db0d2.tar.xz drakx-backup-do-not-use-9602001c7823079a8e8ca0e737a8fe2f6c0db0d2.zip |
adapt to new modules.pm
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index a5b7638d3..df290424d 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -69,7 +69,7 @@ sub mkinitrd($$$) { sub mkbootdisk($$$;$) { my ($prefix, $kernelVersion, $dev, $append) = @_; - modules::load_multi(arch() =~ /sparc/ ? 'romfs' : (), 'loop'); + modules::load(if_(arch() =~ /sparc/, 'romfs'), 'loop'); my @l = qw(mkbootdisk --noprompt); push @l, "--appendargs", $append if $append; eval { modules::load('vfat') }; |