Files
pkgsrc-ng/misc/libreoffice/patches/patch-solenv_bin_ooinstall
2016-01-21 23:42:40 +01:00

20 lines
910 B
Plaintext

$NetBSD: patch-solenv_bin_ooinstall,v 1.1 2015/08/12 00:57:20 ryoon Exp $
--- solenv/bin/ooinstall.orig 2015-07-31 00:32:43.000000000 +0000
+++ solenv/bin/ooinstall
@@ -87,10 +87,10 @@ if ($is_windows) {
# make distro-pack-install shufle with the SDK installation to make it LSB compliant
# it creates symlinks from the orignal 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: $!";
-}
+#if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") {
+# print "Cleaning destdir...\n";
+# system ("rm -rf \"$ENV{DESTDIR}\"") && die "Failed to clean up destdir: $!";
+#}
print "Running LibreOffice installer\n";