blob: 956f41fff01fed774b87d862e7e9a680f6aa51dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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"`;
}
else {
- copy ("$sourcepath", "$destdir$destination") || die "Can't copy file: $sourcepath -> $destdir$destination $!";
+ link ("$sourcepath", "$destdir$destination") || die "Can't hardlink file: $sourcepath -> $destdir$destination $!";
my $sourcestat = stat($sourcepath);
utime ($sourcestat->atime, $sourcestat->mtime, "$destdir$destination");
chmod (oct($unixrights), "$destdir$destination") || die "Can't change permissions: $!";
|