>________________________________
> Da: Julien Cristau <jcris...@debian.org>
>A: Andreas Beckmann <deb...@abeckmann.de>; 670...@bugs.debian.org 
>Inviato: Martedì 26 Giugno 2012 11:44
>Oggetto: Bug#670293: code-aster-{gui, run}: prompting due to modified 
>conffiles which were not modified by the user
> 
>A configuration file can't both be shipped in the package (and thus be a
>conffile) and handled using debconf.  The patch below should make them
>non-conffile, and handle reconfiguration properly.  I haven't tested it
>yet, not sure I can get to it today.
>
>Changes:
>- split templates in code-aster-run and code-aster-gui.  Some are
>  shared.
>- install files to /usr/share/codeaster instead of /etc/codeaster/asrun,
>  /etc/codeaster/astk/prefs and /etc/codeaster/astk/config_serveurs
>- in *.config, if the config file exists, read the value from it and
>  seed that into debconf; if not use a default
>- in *.postinst, on initial install copy the templates from
>  /usr/share/codeaster; then proceed to reading the debconf stored
>  values and writing them in the config files.
>
>Hope this helps.
>
>Cheers,
>Julien
>
>Hi,
thank you for the patch, I'll take a look at it as soon as I can and then apply 
it for a new package.
Bye
Andrea

Reply via email to