~ubuntu-branches/ubuntu/karmic/openoffice.org-l10n/karmic

« back to all changes in this revision

Viewing changes to ooo-build/bin/ooo-wrapper.in

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-04-27 19:29:22 UTC
  • Revision ID: james.westby@ubuntu.com-20060427192922-2dburxv3b63f8v0u
Tags: 2.0.2-2ubuntu5
* Copy of the openoffice.org source.
  - debian/control.in: Change source name.
  - debian/changelog: Change source name.
  - debian/control: Regenerate control file.
* Add kurdish translations exported from Rosetta (2006-04-18).
* Workaround bad message strings in recently included GSI files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        $ENV{OOO_EXTRA_ARG} = $_;
37
37
    } elsif (m/^-fromtemplate$/ && $Binary eq "ooqstart") {
38
38
        $ENV{OOO_EXTRA_ARG} = "slot:5500";
 
39
    } elsif (m/^system:\//) {
 
40
        s/^system:/file:\/\//;
 
41
        push @ooo_argv, $_;
 
42
    } elsif (m/^system:/) {
 
43
        use Cwd;
 
44
        my $dir = getcwd;
 
45
        s/^system:/file:\/\/$dir\//;
 
46
        push @ooo_argv, $_;
39
47
    } else {
40
48
        push @ooo_argv, $_;
41
49
    }
89
97
    print STDERR "\n\n --- Warning - OO.o will not work without a mounted /proc filesystem --- \n\n\n";
90
98
}
91
99
 
 
100
if (defined $ENV{LANG}) {
 
101
    if ($ENV{LANG} =~ /^th/) {
 
102
        # turn off autohinting for thai (Ubuntu #35305).
 
103
        $ENV{SAL_AUTOHINTING_PRIORITY} = "0";
 
104
    }
 
105
}
 
106
 
92
107
# And here we go.
93
108
exec "$SystemInstallDir/program/$Binary", @ooo_argv