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

Re: Conditional use of debconf



Bob Hilliard wrote:
>      I would like to use debconf to present a message to the admin
> when a package is installed, but only if certain text does not
> appear in a config file.  
> 
>      Without debconf, I could use code something like this in the
> [post|pre]inst:
> 
>      if !grep -q include /etc/dictd.conf
>        then
>        [Display message]
>      fi
> 
>      I can't find anything in the debconf documentation or the command
> available in /usr/share/doc/debian-policy/debconf_specification.txt.gz
> that would permit this type of conditional display of a message.  Is
> there something in the debconf documentation that I'm missing?

Well you can do the same exact thing with debconf.

-- 
see shy jo



Reply to: