diff options
author | Francois Pons <fpons@mandriva.com> | 2003-02-17 16:00:36 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-02-17 16:00:36 +0000 |
commit | 449f2abfe1c7931220d79beb4df4b91fcc113637 (patch) | |
tree | 92c739e726b96914556b745cd4b60f5a0dfa6276 /perl-install | |
parent | 4bb131a2ab3755ef257e7d017bd64346fb574d42 (diff) | |
download | drakx-backup-do-not-use-449f2abfe1c7931220d79beb4df4b91fcc113637.tar drakx-backup-do-not-use-449f2abfe1c7931220d79beb4df4b91fcc113637.tar.gz drakx-backup-do-not-use-449f2abfe1c7931220d79beb4df4b91fcc113637.tar.bz2 drakx-backup-do-not-use-449f2abfe1c7931220d79beb4df4b91fcc113637.tar.xz drakx-backup-do-not-use-449f2abfe1c7931220d79beb4df4b91fcc113637.zip |
fixed command insmod.
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/commands.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/commands.pm b/perl-install/commands.pm index ab8ab4885..fb5a8ada3 100644 --- a/perl-install/commands.pm +++ b/perl-install/commands.pm @@ -356,7 +356,8 @@ sub insmod { $_ = $1 if m!.*/([^/]*)\.o!; unless (-r ($f = "/lib/modules/$_.o")) { $f = "/tmp/$_.o"; - my $cz = "/lib/modules" . (arch() eq 'sparc64' && "64") . ".cz"; -e $cz or $cz .= "2"; + my $cz = "/lib/modules" . (arch() eq 'sparc64' && "64") . ".cz"; + -e $cz or $cz .= '-'.c::kernel_version(); if (-e $cz) { eval { require packdrake; |