Bug#670293: code-aster-{gui, run}: prompting due to modified conffiles which were not modified by the user

Andrea Palazzi palazziandrea at yahoo.it
Wed Jun 27 10:28:41 UTC 2012




>________________________________
> Da: Julien Cristau <jcristau at debian.org>
>A: Andreas Beckmann <debian at abeckmann.de>; 670293 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120627/1c6ee93c/attachment-0002.html>


More information about the debian-science-maintainers mailing list