This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] quilt-0.43 -- Tool to work with series of patches


On Wed, February 8, 2006 2:02 pm, Igor Peshansky wrote:
> On Tue, 7 Feb 2006, Brian Dessent wrote:
>
>> [snip]
>> The postinstall/preremove system seems unnecessarily complex.  It
>> includes nearly 250 lines of shell script and two manifests to do what
>> could be accomplished simply with:
>>
>> [ ! -f /etc/quilt.quiltrc ] && \
>>   cp /etc/defaults/etc/quilt.quiltrc /etc/quilt.quiltrc
>>
>> and
>>
>> cmp -s /etc/defaults/etc/quilt.quiltrc /etc/quilt.quiltrc && \
>>   rm -f /etc/quilt.quiltrc
>>
>> ...and by locating the default quiltrc file under /etc/defaults instead
>> of stashed away in /usr/share/doc/quilt-<VER>/examples/quilt.quiltrc and
>> requiring all that scripting to locate.
>
> Do we already have a package (like _update-info-dir) that takes care of
> moving everything from /etc/defaults to the intended locations?  If not,
> would such a package be useful (so that you can simply add
> /etc/defaults/<pkg>.pkgrc, and then depend on that script)?  Maybe fold
> the functionality right into _update-info-dir (since so many packages
> already depend on it)?
>
> I may be misremembering, and something like this may already exist, in
> which case I'll crawl back under my rock.

Not as far as I know - it was proposed when base-files started using
/etc/defaults, but it never got written.

J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]