diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-05 19:41:54 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-05 19:41:54 +0000 |
commit | 4691e29d1228b10abbe586c5ecb87ec9e13bd3ec (patch) | |
tree | 00293f6c28b0ff21c33255cb068f8d66430c2469 /perl-install/modules.pm | |
parent | f67b7107c98a5a2539d5261e8a507f3b6a4b53fa (diff) | |
download | drakx-4691e29d1228b10abbe586c5ecb87ec9e13bd3ec.tar drakx-4691e29d1228b10abbe586c5ecb87ec9e13bd3ec.tar.gz drakx-4691e29d1228b10abbe586c5ecb87ec9e13bd3ec.tar.bz2 drakx-4691e29d1228b10abbe586c5ecb87ec9e13bd3ec.tar.xz drakx-4691e29d1228b10abbe586c5ecb87ec9e13bd3ec.zip |
don't load modules.cz in uml install
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index eb1203ca5..8df2dd09f 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -286,7 +286,7 @@ sub cz_file() { sub extract_modules { my ($dir, @modules) = @_; my $cz = cz_file(); - if (!-e $cz) { + if (!-e $cz && !$::uml_install) { unlink $_ foreach glob_("/lib/modules*.cz*"); require install_any; install_any::getAndSaveFile("install/stage2/live$cz", $cz) or die "failed to get modules $cz: $!"; |