Frank Küster <frank@debian.org> writes:
> Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de> wrote:
>
>> Frank Küster <frank@debian.org> writes:
>>
>>> Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de> wrote:
>>>
>>>> Also how would a package inset such a Post-Invoke line into the
>>>> conffig? Modifying the conffile would be a policy violation.
>>>
>>> The package that provides the hook to run provides the config entry; the
>>> packages that need to run the hook touch a file in /var/<whatever> or
>>> append a line to such a file.
>>
>> That means that every such case has to reinvent the wheel.
>>
>> Also you still haven't gotten the hook into the Post-Invoke apt
>> option.
>
> I don't remember how zope does it, but apparently it has found a way.
> Probably it just drops a file into apt/conf.d, not caring about other
> files specifying a Post-Invoke option (which works because there are
> none...)
Yes, that is usualy done. But it won't work the first time
around. Only subsequent apt calls would work. And dpkg -i foo.deb also
ignores those. So not realy an option.
> Regards, Frank
> --
> Frank Küster
> Inst. f. Biochemie der Univ. Zürich
> Debian Developer
MfG
Goswin