summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-12 21:29:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-12 21:29:21 +0000
commitedf19549e71889e8374d45e57ab0bea32ad446a1 (patch)
tree9f5892a68ca1a856d97979883e61230af9db2adb /perl-install/install2.pm
parentab41a0caaae0bd15dfa2a7f4b3402f3fd25f7b1e (diff)
downloaddrakx-edf19549e71889e8374d45e57ab0bea32ad446a1.tar
drakx-edf19549e71889e8374d45e57ab0bea32ad446a1.tar.gz
drakx-edf19549e71889e8374d45e57ab0bea32ad446a1.tar.bz2
drakx-edf19549e71889e8374d45e57ab0bea32ad446a1.tar.xz
drakx-edf19549e71889e8374d45e57ab0bea32ad446a1.zip
display error when the kernel mismatch the modules
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index c0c929a6f..feb95374f 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -110,6 +110,11 @@ sub selectMouse {
#------------------------------------------------------------------------------
sub setupSCSI {
my ($clicked, $ent_number, $auto) = @_;
+
+ if (!$::live && !$o->{blank}) {
+ -s modules::cz_file() or die _("Can't access kernel modules corresponding to your kernel (file %s is missing)", modules::cz_file());
+ }
+
installStepsCall($o, $auto, 'setupSCSI', $clicked);
}