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

Re: debconf question



also sprach martin f krafft <madduck@debian.org> [2004.07.13.1217 +0200]:
> AFAICT, the display of a 'note' is triggered by db_get in postinst.
> Since postinst gets the previous version as arguments to an
> upgrade/configure action, it's a simple case/if statement.
> 
> case "$1" in
>   configure)
> 
>     case "$2" in
>       0.13*) db_get postgrey/subnet_upgrade_note;;
>     esac
> 
> esac

After looking over debconf-devel(7), this should be in the
postgrey.config script and use db_input rather than db_get. But then
it should work.

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

Attachment: signature.asc
Description: Digital signature


Reply to: