2013-07-30 18:39:30 +02:00
|
|
|
diff -urN libreoffice-4.1.0.0.beta1.old/solenv/bin/modules/installer/worker.pm libreoffice-4.1.0.0.beta1/solenv/bin/modules/installer/worker.pm
|
|
|
|
--- libreoffice-4.1.0.0.beta1.old/solenv/bin/modules/installer/worker.pm 2013-05-27 14:04:19.186304208 +0200
|
|
|
|
+++ libreoffice-4.1.0.0.beta1/solenv/bin/modules/installer/worker.pm 2013-05-27 15:10:46.283303732 +0200
|
|
|
|
@@ -377,7 +377,7 @@
|
|
|
|
symlink (readlink ("$sourcepath"), "$destdir$destination") || die "Can't symlink $destdir$destination -> " . readlink ("$sourcepath") . "$!";
|
2012-11-23 17:08:34 +01:00
|
|
|
}
|
2013-07-30 18:39:30 +02:00
|
|
|
else {
|
|
|
|
- copy ("$sourcepath", "$destdir$destination") || die "Can't copy file: $sourcepath -> $destdir$destination $!";
|
2014-01-17 21:16:52 +01:00
|
|
|
+ link ("$sourcepath", "$destdir$destination") || die "Can't hardlink file: $sourcepath -> $destdir$destination $!";
|
2013-07-30 18:39:30 +02:00
|
|
|
my $sourcestat = stat($sourcepath);
|
|
|
|
utime ($sourcestat->atime, $sourcestat->mtime, "$destdir$destination");
|
|
|
|
chmod (oct($unixrights), "$destdir$destination") || die "Can't change permissions: $!";
|