Re: Need advice wrt #295306
Adeodato Simó <asp16@alu.ua.es> wrote:
> * Pierre Habouzit [Fri, 25 Feb 2005 14:50:54 +0100]:
>> - : this is really not trivial : inetd.conf is sorted by categories,
>> and it will be really difficult to put the entries at the right
>> place in the postinst
>
> In fact, is not very difficult, since you just feed update-inetd the
> appropriate --group option, and the original line as it was in the
> inetd.conf file.
>
> See the attached patch. It's untested, and probably not the best one,
> but perhaps gives you some ideas for the final version.
It's probably better than the idea that I sketched. But you forgot to
remove the cache file after postinst used it.
Regards, Frank
--
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer
Reply to: