Re: Ask user in postinst for overwrite of config file

2006-10-30 Thread Markus Schulz
Am Montag, 30. Oktober 2006 10:11 schrieb Michael Tautschnig: > > Hello, > > > > i have a package which provides a template config file. > > It asks several debconf questions and generate a config file inside > > /etc where all template variables was replaced with debconf > > responses. > > > > Aft

Re: Ask user in postinst for overwrite of config file

2006-10-30 Thread Goswin von Brederlow
Markus Schulz <[EMAIL PROTECTED]> writes: > Hello, > > i have a package which provides a template config file. > It asks several debconf questions and generate a config file inside /etc > where all template variables was replaced with debconf responses. > > After a package upgrade i want to che

Re: Ask user in postinst for overwrite of config file

2006-10-30 Thread Bas Wijnen
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

Re: Ask user in postinst for overwrite of config file

2006-10-30 Thread Michael Tautschnig
> Hello, > > i have a package which provides a template config file. > It asks several debconf questions and generate a config file inside /etc > where all template variables was replaced with debconf responses. > > After a package upgrade i want to check if the generated config file was > mo

Ask user in postinst for overwrite of config file

2006-10-30 Thread Markus Schulz
Hello, i have a package which provides a template config file. It asks several debconf questions and generate a config file inside /etc where all template variables was replaced with debconf responses. After a package upgrade i want to check if the generated config file was modified by user w