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

Re: customizing Debian's info files



Teemu Likonen <tlikonen@iki.fi> writes:

> On 2009-07-14 21:28 (-0300), tyler wrote:
>
>> Is there anyway to customize info files in a way that will be
>> respected by future package updates? For example, the info entries for
>> the R-doc package get filed under "Programming", but I'd prefer they
>> were under "R". I can change the entry in /usr/share/info/dir, but it
>> gets overwritten the next time any info files get updated. Any
>> suggestions?
>
> As far as I know there are no any simple solutions. You need to edit the
> R-doc package's info documents themselves and change the section. It's
> the "INFO-DIR-SECTION" keyword. "install-info" command will update the
> "dir" file. The problem is that next version of R-doc package will
> overwrite your changes.
>
> Perhaps you can make a script which edits the info files automatically
> (using "sed" or something).

Ok, thanks. I'll try writing a script of my own. Is there some way to
trigger the script to run following every package update, or even better
anytime the dir has changed?

Cheers,

Tyler

-- 
Saint Mary's - they do science there!


Reply to: