Re: config files
On Thu, Dec 23, 1999 at 11:04:49AM +1100, Brian May wrote:
> Hello,
>
> what is the best way to
>
>
> 1. automatically prompt the user for configuration information
>
> 2. store this in a config file in such a way that any customizations
> the user may have made are not lost
>
> 3. allow for changes by the upstream maintainer.
>
>
> If have looked at debconf, but this only seems to solve 1.
>
> I am sure I have seen ideas on 2 and 3, but can't seem to find them
> now.
>
> If nothing has been standardised, I will invent my own method (I have
> some good ideas on how to do this), but thought this was a common
> situation...
I believe that debconf does, indeed, address all three issues. I
haven't yet converted my packages to use debconf, though, so I can't
help further.
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
Debian GNU/Linux Developer, see http://www.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: