summaryrefslogtreecommitdiffstats
path: root/perl-install/install/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-10-01 14:08:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-10-01 14:08:11 +0000
commit8cefa3749e16a274f6a277a57001e6f09ac1c0a4 (patch)
treeb2ec35af0bb3928843865ce3a6519ac06ee286b3 /perl-install/install/media.pm
parent2f31b7e41025b29938a80160a1194ffdd0afb175 (diff)
downloaddrakx-8cefa3749e16a274f6a277a57001e6f09ac1c0a4.tar
drakx-8cefa3749e16a274f6a277a57001e6f09ac1c0a4.tar.gz
drakx-8cefa3749e16a274f6a277a57001e6f09ac1c0a4.tar.bz2
drakx-8cefa3749e16a274f6a277a57001e6f09ac1c0a4.tar.xz
drakx-8cefa3749e16a274f6a277a57001e6f09ac1c0a4.zip
- don't keep noarch pkgs symlinked (to ../../../i586/media/main/xxx.rpm)
when copying packages on disk
Diffstat (limited to 'perl-install/install/media.pm')
-rw-r--r--perl-install/install/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm
index d889f9141..3a3da5601 100644
--- a/perl-install/install/media.pm
+++ b/perl-install/install/media.pm
@@ -872,7 +872,7 @@ sub copy_rpms_on_disk {
my $total = install::any::count_files($rpmsdir);
log::l("copying $rpmsdir to $::prefix$dest_dir ($total files)");
eval {
- install::any::cp_with_progress($wait_message, 0, $total, $rpmsdir, "$::prefix$dest_dir");
+ install::any::cp_with_progress_({}, $wait_message, $total, [$rpmsdir], "$::prefix$dest_dir");
};
log::l($@) if $@;