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

Re: Prelinking: bugs in 1.1rc



Le mer 13/08/2003 à 21:30, Rene Engelhard a écrit :
> 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).
I know, I know, sorry.
I was confused because of the -x and a script.
Forget it.

> > - 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?
If you keep using /var/state, yes.
> 
> Or do I oversee something fundamental in one or both cases?
/var/state is no longer used in Sid.
There is then no point in creating an otherwise non-existent directory
to store a temporary one.

Those are off course details.

> Grüße/Regards,
> 
> René
-- 
Jérôme Warnier <jwarnier@beeznest.net>

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: