2020-06-18 15:01:34 +02:00
|
|
|
Index: libreoffice-7.0.0.0.beta2/solenv/bin/modules/installer/worker.pm
|
|
|
|
===================================================================
|
|
|
|
--- libreoffice-7.0.0.0.beta2.orig/solenv/bin/modules/installer/worker.pm
|
|
|
|
+++ libreoffice-7.0.0.0.beta2/solenv/bin/modules/installer/worker.pm
|
|
|
|
@@ -347,7 +347,7 @@ sub install_simple ($$$$$$)
|
|
|
|
`mkdir -p "$destdir$destination"`;
|
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: $!";
|