[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Prelinking: bugs in 1.1rc



Hi,

[ no need to Cc: me since I obviously read debian-openoffice. And
 when, please use the debian.org address for debian-related stuff. ]

Jérôme Warnier wrote:
> - /usr/share/openoffice.org-debian-files/hooks/postinst.d/prelink tries
> to call /usr/bin/prelink instead of /usr/bin/oooprelink.

How?

if [ "$1" = "openoffice.org-bin" -a "$2" = "configure" ]; then
        if [ -x /usr/sbin/prelink ]; then
                # the check if we should do it is actually done in
		this script
                oooprelink
        fi
fi

ooprelink calls prelink.
The -x is just a test whether the prelink package is installed (and
therefore the binary is there).

> - tries to store things in /var/state, which does not exist on my Sid.

if [ "$prelink" = "true" ]; then
        echo -n "Prelinking OpenOffice.org binaries... "
        /usr/sbin/prelink $DEBUG \
                --ld-library-path=/usr/lib/openoffice/program \
                --conserve-memory /usr/lib/openoffice/
        if [ ! -d /var/state/openoffice ]; then
                mkdir -p /var/state/openoffice
        fi
        touch /var/state/openoffice/ooo_is_prelinked
        echo "done."

[...]

should be mkdir'ed, no?

Or do I oversee something fundamental in one or both cases?

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB7

Attachment: pgp9JfecKeFjB.pgp
Description: PGP signature


Reply to: