summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-12-09 16:51:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-12-09 16:51:12 +0000
commit63ea83138af4b3fc2bee69749a9e45d7b7402027 (patch)
tree318c347a57e307038ca54c0077b089b5275660b6 /perl-install
parent3798dad1ff797cbbb2b9a406c4178b65def425be (diff)
downloaddrakx-63ea83138af4b3fc2bee69749a9e45d7b7402027.tar
drakx-63ea83138af4b3fc2bee69749a9e45d7b7402027.tar.gz
drakx-63ea83138af4b3fc2bee69749a9e45d7b7402027.tar.bz2
drakx-63ea83138af4b3fc2bee69749a9e45d7b7402027.tar.xz
drakx-63ea83138af4b3fc2bee69749a9e45d7b7402027.zip
commit warly's fix in HEAD
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 104c8bd19..53aa21a2b 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -631,11 +631,12 @@ sub updateModulesFromFloppy {
my @dest_files = map { chomp_($_) } run_program::rooted_get_stdout($o->{prefix}, 'find', '/lib/modules');
foreach my $s (@src_files) {
log::l("found updatable module $s");
- my ($sfile, $sext) = $s =~ m!([^/\.]*\.k?o)(?:\.gz|\.bz2)?$!;
+ my ($sfile, $sext) = $s =~ m!([^/\.]*\.k?o)(\.gz|\.bz2)?$!;
my $qsfile = quotemeta $sfile;
my $qsext = quotemeta $sext;
foreach my $target (@dest_files) {
$target =~ /$qsfile/ or next;
+ $target = "$o->{prefix}/$target";
eval { cp_af($s, $target) };
if ($@) {
log::l("updating module $target by $s failed: $@");