Re: debconf db_input in postinst / horde2
On Thu, Dec 11, 2003 at 11:51:01PM +0100, Jeremy Lain? wrote:
> I can see how it is a Bad Thing to prompt the user for input both in
> postinst and in config, but the fact still stands that it's the way
> it's done in horde2, and I'm sure there must be a good reason for it!
> Any ideas here?
Ask it during config, store it in debconf until your through using it in
postinst and then clear it from debconf. It's how I do it in mediamate.
> Is there any scenario (recovering from a failed install..) which would
> involve running the postinst without the config, and hence justify the
> prompt for the admin user/password?
Honestly don't know.
Jamin W. Collins
Remember, root always has a loaded gun. Don't run around with it unless
you absolutely need it. -- Vineet Kumar