# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/libreoffice/hotfix-no-rm-rf-sysroot.patch # Copyright (C) 2024 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- Thanks, but no thanks - we prefer all our sysroot not to be deleted, ... --- libreoffice-7.6.6.3/solenv/bin/ooinstall.vanilla 2024-05-22 09:34:34.769909488 +0200 +++ libreoffice-7.6.6.3/solenv/bin/ooinstall 2024-05-22 09:36:16.214900493 +0200 @@ -82,8 +82,8 @@ # it creates symlinks from the original path to /usr/share; they are not valid with $DESTDIR # and potential second ooinstall call fails with strange error messages if the old tree is still there if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") { - print "Cleaning destdir...\n"; - system ("rm -rf \"$ENV{DESTDIR}\"") && die "Failed to clean up destdir: $!"; + #print "Cleaning destdir...\n"; + #system ("rm -rf \"$ENV{DESTDIR}\"") && die "Failed to clean up destdir: $!"; } print "Running LibreOffice installer\n";