patch-solenv_bin_ooinstall 980 B

123456789101112131415161718192021
  1. $OpenBSD: patch-solenv_bin_ooinstall,v 1.5 2016/03/01 21:39:58 robert Exp $
  2. --- solenv/bin/ooinstall.orig.port Wed Jan 27 01:58:25 2016
  3. +++ solenv/bin/ooinstall Wed Feb 10 14:23:02 2016
  4. @@ -82,10 +82,12 @@ if ($is_windows) {
  5. # make distro-pack-install shufle with the SDK installation to make it LSB compliant
  6. # it creates symlinks from the orignal path to /usr/share; they are not valid with $DESTDIR
  7. # and potential second ooinstall call fails with strange error messages if the old tree is still there
  8. -if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") {
  9. - print "Cleaning destdir...\n";
  10. - system ("rm -rf \"$ENV{DESTDIR}\"") && die "Failed to clean up destdir: $!";
  11. -}
  12. +### SKIP ON OPENBSD ###
  13. +#if ($destdir && "$ENV{DESTDIR}" ne "/" && -d "$ENV{DESTDIR}") {
  14. +# print "Cleaning destdir...\n";
  15. +# system ("rm -rf \"$ENV{DESTDIR}\"") && die "Failed to clean up destdir: $!";
  16. +#}
  17. +#######################
  18. print "Running LibreOffice installer\n";