diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-14 15:19:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-14 15:19:49 +0000 |
commit | 1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462 (patch) | |
tree | 2920884705e860eaac1a9329d819fac0704a0afa | |
parent | 7419d1f834a07eff2f332c95d46f479f7cd96ef2 (diff) | |
download | drakx-backup-do-not-use-1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462.tar drakx-backup-do-not-use-1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462.tar.gz drakx-backup-do-not-use-1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462.tar.bz2 drakx-backup-do-not-use-1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462.tar.xz drakx-backup-do-not-use-1b791cfb9d9ca2efdd1ede0cf3b8f4b9148ab462.zip |
test the presence of kernel modules .cz'ed or not
-rw-r--r-- | perl-install/install2.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 4d0f1ab54..d898690df 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -115,8 +115,9 @@ sub selectMouse { sub setupSCSI { my ($clicked, $_ent_number, $auto) = @_; - if (!$::live && !$::g_auto_install && !$o->{blank} && !$::testing && !$::uml_install && !$::move) { - -s modules::cz_file() or die \N("Can't access kernel modules corresponding to your kernel (file %s is missing), this generally means your boot floppy in not in sync with the Installation medium (please create a newer boot floppy)", modules::cz_file()); + if (!$::live && !$::g_auto_install && !$o->{blank} && !$::testing && !$::uml_install) { + -d '/lib/modules/' . c::kernel_version() || + -s modules::cz_file() or die \N("Can't access kernel modules corresponding to your kernel (file %s is missing), this generally means your boot floppy in not in sync with the Installation medium (please create a newer boot floppy)", modules::cz_file()); } installStepsCall($o, $auto, 'setupSCSI', $clicked); |