[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.

Yeah, you're right. It's just that I've been answering all these
xaw3d questions on my own (and having to repeat everything I
say), and then I make *one* mistake, and immediately you notice
it and jump on it :)! It's not fair!

> 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.

I think just telling everybody to move those xaw3d lines to the bottom is
good enough. (unless somebody comes up with an example where removing
and moving to the bottom differes, but I don't think that is possible)

-- 
joost witteveen, joostje@debian.org
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)


--
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: