summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-28 08:00:42 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-04-28 08:00:42 +0000
commit0853cb49f949f57f0eddcfe9a3a16f70ed52b04e (patch)
treec1d15ef4802e30f171aab4e11a5c1ab2da4f4329 /urpm
parentb5365043ff497db6f55e80535a536b3725d539d2 (diff)
downloadurpmi-0853cb49f949f57f0eddcfe9a3a16f70ed52b04e.tar
urpmi-0853cb49f949f57f0eddcfe9a3a16f70ed52b04e.tar.gz
urpmi-0853cb49f949f57f0eddcfe9a3a16f70ed52b04e.tar.bz2
urpmi-0853cb49f949f57f0eddcfe9a3a16f70ed52b04e.tar.xz
urpmi-0853cb49f949f57f0eddcfe9a3a16f70ed52b04e.zip
Copy files using -L, to avoid copying relative symbolic links with -R
(this made urpmi.addmedia fail over nfs when the target hdlist was actually a symbolic link)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/util.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/util.pm b/urpm/util.pm
index 6e8e483f..16f3a2cc 100644
--- a/urpm/util.pm
+++ b/urpm/util.pm
@@ -86,7 +86,7 @@ sub md5sum {
sub copy {
my ($file, $dest) = @_;
- !system("/bin/cp", "-p", "-R", $file, $dest);
+ !system("/bin/cp", "-p", "-L", "-R", $file, $dest);
}
sub move {