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

Re: uploaded gv 3.4.3-1 (source i386) to master

joost witteveen:
> > > Just install it and remove the Xaw3d directory from /etc/ld.so.conf.
> > 
> > Would this be treated as a config-file edit, or would it
> > have to be repeated whenever Xaw3d happens to get upgraded?
> yes.

Hate to disagree, but this won't work. If you remove the Xaw3d line from
ld.so.conf, next time you upgrade xaw3d, the line will be added back at the
top of the file (see the xaw3d postinst [1]). The correct solution is to 
_move_ the line with Xaw3d in it to the bottom of /etc/ld.so.conf so it is 
below whatever widget set you want by default.

For example, I like nextaw, but I need xaw3d installed for gv now. So I have
this ld.so.conf, whitch will not be changed when I upgrade xaw3d or nextaw:


Joost: maybe we should add some smarts to {nextaw,xaw3d,xaw95}.postinst to
it doesn't add the line if the line doesn't exist and the package is being
upgraded? Is it possible to tell in a postinst if you are upgrading? I've
never tried.

See shy Jo.

	if ! grep -q $XAWREPLDIR $LDSOCONF ; then 
		(echo $XAWREPLDIR; grep -v $XAWREPLDIR $LDSOCONF) >$tmpfile && \
		mv $tmpfile $LDSOCONF

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: