Mail Archives: cygwin/2008/08/11/00:13:19
On Sun, Aug 10, 2008 at 09:20:39PM -0400, Charles Wilson wrote:
> Christopher Faylor wrote:
>>> Actually, I was debating removing this from cygport and letting
>>> _update-info-dir take care of these, as this would appear to
>>> significantly reduce the number of postinstall scripts.
>> I think it's a good idea to just let _update-info-dir take care of this.
>> It's going to run anyway so you end up just running install-info twice.
>
> Well, one of the problems with both cygport's current automatic handling of
> info files, and the _update-info-dir metapackage, is that nobody ever runs
> install-info --remove. And really, I don't see any way a metapackage like
> _update-info-dir could ever do so -- How does it know what I *used* to have
> installed, that now is installed no longer? It can't parse my existing dir
> file, can it?
_update-info-dir deletes the dir file before it creates it. The only
way an obsolete .info file can be added is if it somehow was not removed
by setup.
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -