summaryrefslogtreecommitdiffstats
path: root/perl-install/commands.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-17 16:00:36 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-17 16:00:36 +0000
commit449f2abfe1c7931220d79beb4df4b91fcc113637 (patch)
tree92c739e726b96914556b745cd4b60f5a0dfa6276 /perl-install/commands.pm
parent4bb131a2ab3755ef257e7d017bd64346fb574d42 (diff)
downloaddrakx-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/commands.pm')
-rw-r--r--perl-install/commands.pm3
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;