diff options
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 3 |
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; } |