706e274d0b
* Beta candidate with all the new 7.0 series content - Remove merged patches: * bsc1146025.diff * bsc1157627.diff * bsc1160687-2.diff * bsc1160687-3.diff * bsc1160687-4.diff * bsc1160687-5.diff * bsc1160687-6.diff * bsc1160687-7.diff * bsc1160687-8.diff * bsc1165849-1.diff * bsc1165849-2.diff * bsc1165849-3.diff * bsc1165870.diff * bsc1172053.diff * bsc1172189.diff * replace-boost-bimap-in-sdext-pdfimport.patch * fix_old_boost_spirit_namespace.patch - Rebase patch install-with-hardlinks.diff OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=891
14 lines
893 B
Diff
14 lines
893 B
Diff
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: $!";
|