[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: use and abuse of Debconf, follows-up



On Fri, Feb 02, 2001 at 04:03:44PM +0100, Jérôme Marant wrote:

>   So, if I understood correctly, I could do something like this in the
>   postinst :

>     # Copying a default file if it does not exist
>     if [ ! -f /etc/myconf.conf ]; then
>         cp /usr/share/doc/mypackage/examples/myconf.conf /etc
>     fi

>     Then, I coulf modify the parameters within the script. Is this right ?

Yes.

-- 
Mark Brown  mailto:broonie@tardis.ed.ac.uk   (Trying to avoid grumpiness)
            http://www.tardis.ed.ac.uk/~broonie/
EUFS        http://www.eusa.ed.ac.uk/societies/filmsoc/



Reply to: