Re: design issues in debian packages
On 19 Dec 2001, Brian May wrote:
> >>>>> "Adam" == Adam Heath <doogie@debian.org> writes:
>
> Adam> The way I am solving this for jboss, is to have a .foo to
> Adam> match each foo in a .d, where .foo is executable, and this
> Adam> .foo is what checks to see if the configuration fragment(as
> Adam> I call them) should be used. My goal is to make this script
> Adam> generic(so far, it is), and have it be included into
> Adam> debianutils. This script also handles the case of .rpm-save
> Adam> and .dpkg-new type files, and skips over them.
>
> This of course is another potential solution. While it seems the best
> solution I have seen so far, I am not sure I like it :-(.
>
> Would .foo be a conffile? Which file should the user edit?
.foo, being in /etc, is a conffile. To disable the inclusion completely, the
admin would edit .foo, inserting 'exit 1' at the top, just like for most other
shell scripts.
Reply to: