summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-30 18:47:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-30 18:47:51 +0000
commitfc575786f13eb5bbeb5a0299823252a4794ee1fe (patch)
tree5ab0a8db4260ab881f801a3130b80419015c329a
parent3a50f28b6b3fd8d05b36c465dc824d010a79d12f (diff)
downloaddrakx-fc575786f13eb5bbeb5a0299823252a4794ee1fe.tar
drakx-fc575786f13eb5bbeb5a0299823252a4794ee1fe.tar.gz
drakx-fc575786f13eb5bbeb5a0299823252a4794ee1fe.tar.bz2
drakx-fc575786f13eb5bbeb5a0299823252a4794ee1fe.tar.xz
drakx-fc575786f13eb5bbeb5a0299823252a4794ee1fe.zip
(load_raw): add a ``-'' between the file and the version for modules.cz
and cardmgr
-rw-r--r--perl-install/modules.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index b2aa1ae58..bcf89379b 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -525,7 +525,7 @@ sub unload {
sub load_raw {
my @l = map { my ($i, @i) = @$_; [ $i, \@i ] } grep { $_->[0] !~ /ignore/ } @_;
- my $cz = "/lib/modules" . (arch() eq 'sparc64' && "64") . ".cz" . c::kernel_version();
+ my $cz = "/lib/modules" . (arch() eq 'sparc64' && "64") . ".cz-" . c::kernel_version();
if (!-e $cz) {
unlink $_ foreach glob_("/lib/modules*.cz*");
install_any::getAndSaveFile("Mandrake/mdkinst$cz", $cz) or die "failed to get modules $cz: $!";
@@ -732,7 +732,7 @@ sub configure_pcmcia {
};
#- run cardmgr in foreground while it is configuring the card.
- run_program::run("cardmgr" . c::kernel_version(), "-f", "-m" ,"/modules");
+ run_program::run("cardmgr-" . c::kernel_version(), "-f", "-m" ,"/modules");
sleep(3);
#- make sure to be aware of loaded module by cardmgr.