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

Re: postinst and debconf again



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Dec 19, 2002 at 02:58:11PM +0100, pp wrote:
> I posted my problem some time ago.
> 
> 
> postinst script:
Hmm, this looks like a debian/config script, not a postinst script.
But the debconf docs are fading already in my minds, so it might be ok.

> #! /bin/sh -ex
> 
> . /usr/share/debconf/confmodule
> db_version 2.0
> db_title "Midgard library package."
> 
> if  $mysqlcmd -D mysql -e 'use midgard;' >/dev/null 2>&1 ; then
> 
>         db_input "high" midgard/error
>         db_go
>         db_stop
> else
> db_input high midgard/do_setup || true
> db_go
db_go || true ?

Ciao, Bastian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+AdPKeBwlBDLsbz4RAtMUAJ98ENQoBRlpwjCK1RbDt6IrVUC5OwCgl4h+
x1RUPuhJ2DwaOXXtMcZVhUY=
=cb1V
-----END PGP SIGNATURE-----



Reply to: