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

Re: lintian: postinst-does-not-load-confmodule



Le dimanche 09 octobre 2005 à 01:37 +0200, Nicolas Boullis a écrit :
> I can't understand why I should load anything related to debconf, if I 
> don't use debconf in postinst. (I use debconf in preinst and config, 
> where I load it with ". /usr/share/debconf/confmodule".)
> 
> What am I missing?

See debconf-devel(7):
       -      incluez toujours /usr/share/debconf/confmodule au début de votre
              postinst, même si vous ne  lancez  aucune  des  commandes  db_*.
              C’est  nécessaire  pour s’assurer que le script config sera bien
              lancé (voyez la section BIDOUILLES pour plus de détails) ;

Or, for English readers:
       *      Always  source  /usr/share/debconf/confmodule at the top of your
              postinst, even if you won't be running any db_* commands in  it.
              This is required to make sure the config script gets a chance to
              run (see HACKS for details).

-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: