$NetBSD: patch-solenv_bin_ooinstall,v 1.1 2015/03/12 02:59:04 ryoon Exp $ --- solenv/bin/ooinstall.orig 2014-04-08 11:46:25.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";