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

Re: debconf problem



Jonas Meurer wrote:
> On 16/05/2003 Joe Nahmias wrote:
> > >            if dpkg --compare-versions "$3" "<=" 0.1g
> > >            then
> > >              db_input high lurker/upgrade01_info || true
> >                db_go
> > >            elif dpkg --compare-versions "$3" ">=" 0.5
> > >            then
> > >              db_input high lurker/upgrade06_info || true
> >                db_go
> > [...] 
> > You need to call db_go after all the db_input's to tell debconf to ask
> > the questions.
> 
> I have at the end of the config script:
>   if db_go; then
>     STATE=$(($STATE + 1))
>   else
>     STATE=$(($STATE - 1))
>   fi
> 
> that should do the relating stuff, am I right?
> so, that cannot be the problem. But I get the feeling that $3 is the
> problem.

$3 is empty, the previous version is in $2

-- 
see shy jo

Attachment: pgpUFc10mdYZP.pgp
Description: PGP signature


Reply to: