[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DebConf-ing Apache Modules



Gregor Hoffleit wrote:
> The preinst's of all packages added their name to the choices of the
> shared select variable, and the postinst's removed this packages's name.
> 
> Each postinst would look if it's the last package in the choices list.
> If it was, that would mean that it's the last Zope/Apache module package
> that's installed in that apt run. Then, this package should care to
> restart the Zope/Apache server.

Wow, pretty slick. It does feel like a mild abuse of debconf -- writing
to a temp file would work just as well.

-- 
see shy jo



Reply to: