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

Re: Debconf problems



On Sun, Jan 28, 2001 at 01:53:43PM -0600, Adam Heath wrote:

> On Sun, 28 Jan 2001, Klaus Reimer wrote:
> 
> > Hi,
> > 
> > > On Sun, Jan 28, 2001 at 06:22:57PM +0100, Klaus Reimer wrote:
> > > >   db_version 2.0
> > > >   db_text medium apl/notice || true
> > > should it be db_input? I think so...
> > 
> > db_text is a link to db_input. 
> 
> Ever heard of $0?  Programs can change their actions based on what their name
> is.

In this case, db_* are not links at all, but shell functions defined in
/usr/share/debconf/confmodule.

# Just an alias for input. It tends to make more sense to use this to display
# text, since displaying text isn't really asking for input.
db_text () {
        db_input $@
}


-- 
 - mdz



Reply to: