From 0853cb49f949f57f0eddcfe9a3a16f70ed52b04e Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 28 Apr 2005 08:00:42 +0000 Subject: 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) --- urpm/util.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') 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 { -- cgit v1.2.1