summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-04-18 14:38:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-04-18 14:38:41 +0000
commit55d44a1b5c6e4d2f45d365fe7680aa619c831506 (patch)
tree79acc6af53dc612896b99f3e218569c5ca9892f6 /perl-install/modules.pm
parent9e8dbe6e3b60bfd65346d5fa6c11b4723599aebb (diff)
downloaddrakx-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar
drakx-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar.gz
drakx-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar.bz2
drakx-55d44a1b5c6e4d2f45d365fe7680aa619c831506.tar.xz
drakx-55d44a1b5c6e4d2f45d365fe7680aa619c831506.zip
no_comment
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 1b8d58dfa..2a099d2dc 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -401,7 +401,8 @@ sub load_multi {
$::testing and log::l("i would install modules @l"), return;
- run_program::run("extract_archive", "/lib/modules.cz2", "/tmp", map { "$_.o" } @l);
+ my $cz = "/lib/modules.cz"; -e $cz or $cz .= "2";
+ run_program::run("extract_archive", $cz, "/tmp", map { "$_.o" } @l);
run_program::run(["insmod_", "insmod"], "/tmp/$_.o") and $conf{$_}{loaded} = 1 foreach @l;
unlink map { "/tmp/$_.o" } @l;
}