From e2ab3c3fc1131020c02df50dc2ecf4e8c454c0ab Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 20 Sep 2023 11:17:42 +0000 Subject: automatic import of libreoffice --- install-with-hardlinks.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 install-with-hardlinks.diff (limited to 'install-with-hardlinks.diff') diff --git a/install-with-hardlinks.diff b/install-with-hardlinks.diff new file mode 100644 index 0000000..956f41f --- /dev/null +++ b/install-with-hardlinks.diff @@ -0,0 +1,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: $!"; -- cgit v1.2.3