Kaydet (Commit) a0f21d39 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

linkoo seems to be unsupported on Mac OS X, make it exit with status 0 there (so…

linkoo seems to be unsupported on Mac OS X, make it exit with status 0 there (so ooinstall does not erroneously fail)
üst 8df84173
......@@ -56,6 +56,11 @@ export OOO_DISABLE_RECOVERY=1
export SAL_ALLOW_LINKOO_SYMLINKS=1
';
if ($ENV{'OS'} eq 'MACOSX') {
print "FIXME: linkoo currently does not work on Mac OS X\n";
exit(0);
}
my $dry_run = 0;
my $usage = 0;
my $LANG;
......@@ -70,12 +75,9 @@ my $ure_misc_dir = 'basis-link/ure-link/share/misc';
my $ure_java_dir = 'basis-link/ure-link/share/java';
my $ure_lib_dir = 'basis-link/ure-link/lib';
$program_dir = 'openoffice.org/basis-link/MacOS' if ($ENV{OS} eq 'MACOSX'); # FIXME probably wrong
my @exceptions = ( 'cppuhelper', 'sunjavaplugin', 'libjvmfwk' );
my $dllre = '\.so$';
$dllre = '\.dylib$' if ($ENV{OS} eq 'MACOSX');
my %replaceable = (
$program_dir => "($dllre|\\.rdb)",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment