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

Re: Ask user in postinst for overwrite of config file



On Mon, Oct 30, 2006 at 10:06:05AM +0100, Markus Schulz wrote:
> After a package upgrade i want to check if the generated config file was 
> modified by user with a md5sum and ask the user if i can override the 
> existing config file (only if different) with the new generated 
> version. 
> But a read inside postinst can't take a response from user. How can i do 
> this? Is there a better solution for this problem?

Why not do it where all other questions are asked, from the config script?  Do
you need your dependencies installed when you ask the questions?

Thanks,
Bas

-- 
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://pcbcn10.phys.rug.nl/e-mail.html

Attachment: signature.asc
Description: Digital signature


Reply to: