Bc and info?

Scott harview at montana.com
Mon Dec 15 06:17:15 PST 2008

On Sun, Dec 14, 2008 at 12:41:25PM -0600, DJ Lucas wrote:
> > I installed bc-1.06, and it seems to have over-written
> > /usr/share/info/dir so that the only "info" item which appears is for
> > dc. 

> Did you try to move from destdir?  If so, then you overwrote the 
> installed dir file.

Yes, I have been using the treeutils method which someone suggested.
So I see what happened. How best to prevent such mishaps in future?
Are there other shared files besides this one of which I need to be wary?

> Besides using your backup? ;-)  


> Hopefully something to the effect of 
> this group of commands as the root user will work sufficiently:
> for file in `ls /usr/share/info/* | sed '/^dir$/d'`
> do
>      install-info --dir-file=/usr/share/info/dir --info-file=$file
> done

That looks promising. Thanks so much!

Scott Swanson

More information about the blfs-support mailing list