[Libreoffice-commits] .: bin/ooinstall

Robert Nagy rnagy at kemper.freedesktop.org
Tue Nov 30 06:56:35 PST 2010


 bin/ooinstall |   12 ------------
 1 file changed, 12 deletions(-)

New commits:
commit 12bbb73d832aa6fd75f509f0b9d47de5ef5efd5b
Author: Robert Nagy <robert at openbsd.org>
Date:   Tue Nov 30 15:55:42 2010 +0100

    remove the unused wanted function

diff --git a/bin/ooinstall b/bin/ooinstall
index 5b4bb07..170ee29 100755
--- a/bin/ooinstall
+++ b/bin/ooinstall
@@ -31,18 +31,6 @@ sub suck_setup($)
     return 0;
 }
 
-sub wanted {
-    my $path_to_unopkg="$path/program";
-    if ( $^O =~ /darwin/i )
-    {
-        $path_to_unopkg="$path/OpenOffice.org.app/Contents/MacOS";
-    }
-    -f $_ 
-	&& /.*\.oxt$/
-	&& system ( "LD_LIBRARY_PATH='' $path_to_unopkg/unopkg add -v --shared $File::Find::name" )
-	&& die "Cannot install $_ extension!";
-}
-
 ( $^O =~ /openbsd/i ) || ( $^O =~ /darwin/i ) || ( -f "/proc/meminfo" ) || die "The installer cannot work without javaldx running, which requires /proc to be mounted";
 
 suck_setup ("./setup") || suck_setup ("bin/setup") || die "can't find bin/setup";


More information about the Libreoffice-commits mailing list