summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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;