Package: openoffice.org-common
Version: 1:2.4.1-10
Severity: grave
File: /usr/bin/ooffice
Justification: renders package unusable

$ ooffice 
/usr/lib/openoffice/program/soffice: line 367: syntax error near unexpected 
token `fi'
/usr/lib/openoffice/program/soffice: line 367: `fi'

It looks like there is a 'fi' where there should be a done:

# test for availability of the fast external splash
for arg in $@; do
        if [ "$arg" = "-nologo" -o "$arg" = "-no-oosplash" ]; then
                no_oosplash=y
        fi
fi
if [ "$sd_binary" = "soffice.bin" -a -x "$sd_prog/oosplash.bin" ] && [ 
"$no_oosplash" != "y" ] ; then
    sd_binary="oosplash.bin"
fi

Probably should be:

# test for availability of the fast external splash
for arg in $@; do
        if [ "$arg" = "-nologo" -o "$arg" = "-no-oosplash" ]; then
                no_oosplash=y
        fi
done
if [ "$sd_binary" = "soffice.bin" -a -x "$sd_prog/oosplash.bin" ] && [ 
"$no_oosplash" != "y" ] ; then
    sd_binary="oosplash.bin"
fi

With this change, OOo starts OK.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openoffice.org-common depends on:
ii  dictionaries-common [openoffi 0.98.12    Common utilities for spelling dict
ii  openoffice.org-style-andromed 1:2.4.1-10 Default symbol style for OpenOffic

Versions of packages openoffice.org-common recommends:
pn  openoffice.org-style-crystal  <none>     (no description available)
ii  openoffice.org-style-tango    1:2.4.1-10 Tango symbol style for OpenOffice.

Versions of packages openoffice.org-common suggests:
pn  openoffice.org-style-hicontra <none>     (no description available)
pn  openoffice.org-style-industri <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to