Hi, On mar, 2008-03-25 at 09:46 -0600, Gunnar Wolf wrote: > 1- At preinst, ask via Debconf if user wants the script to perform the > automatic conversion. Why in preinst ? I think it can be done in config/postinst the usual way. And of course, this question should be skipped if the file has not been modified, and not have a too high priority. > 2a- If user does not want automatic conversion, just display what would > have been done, and signal the daemon not to start (i.e. setting a > variable in /etc/default/cherokee). Should I leave the old > Cherokee instance running, or should I leave it in a stopped > state? If the user doesn’t want conversion, either you don’t upgrade at all (in which case you indeed need to do it in the preinst) or you simply don’t start the daemon, but this sounds suboptimal as well. > 2b- If the user does want automatic conversion, do it - and leave the > daemon running. Leave old configuration as reference, appending > .old to filename. In the end, this is the only sane thing to do, so you don’t even need to ask the question. Just upgrade, convert, and display a big fat warning that the configuration has been converted and where is the old file. -- .''`. : :' : We are debian.org. Lower your prices, surrender your code. `. `' We will add your hardware and software distinctiveness to `- our own. Resistance is futile.
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=