Re: perl et debconf

Julien Cristau <[email protected]>
Newsgroups gmane.linux.debian.devel.french
Message-ID <[email protected]>
On Wed, Apr  4, 2012 at 19:02:13 +0200, laurent COOPER wrote:

> Je réponds au message précédent ... debconf redirige la sortie standard, et donc c'est normal que mon print n'affiche rien dans ma fenêtre de terminal.
> 
> Maintenant, c'est pas beaucoup documenté ... ou alors j'ai mal cherché !
> 
debconf-devel(7):

       The config script sends debconf a command by
       writing the command to standard output.  Then  it  can  read  debconf's
       reply from standard input.
[...]
       *      Avoid outputting anything to stdout in your postinst, since that
              can confuse debconf, and postinst should not be verbose  anyway.
              Output to stderr is ok, if you must.

Julien
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJPgyulAAoJEDEBgAUJBeQMt+sQAJdq3HVoZRv+I1BucPqLEeoU
CFJkXUeLmXUqSfpEt2fGRQo3I6ok1H9tRwNp53Jx2byPySIQWPkPUgnotyuEqj16
Q+pVbY3CkZAT4Dnb24yqhYV7ON5JjCNWWBk0GuvejB/lGV22sBRWD0o4QYFB38Ep
PlmqVPJWyvSExEsqcUJa2oi5n63b+6EOfXxzL9LFJaEsTs9JflKhEor5KXF7NSgQ
uJhxtVdia0PnnCrl5MuNpOSfVMeWImNsPZYB58PD6WWe+1PkZJz9o+wsgqpkY6xh
OQa4mvsDdqBy24M0Qd6/8Cs5RnyR+d1xoZ+79A6rA9v7CqEASQpQQANmKi9n+kAJ
cIUfibULkaOcwxGItg6Et7LJ2omzCV/nRdG7e0krpu9XdtTXMBaEYGr7BR5gnMbK
mDUMK3QhB3xu3IDTCuCTracpCAC8meJftSMPSsL5lV6teJn8cIXap5AfzjNmzwYV
JTNuLhrV6+0eB+p7C1bqT65615sKMm6ehG7PndzIfjNtTC+0hBAdMkKUD1nLZCPQ
5YT7RkIooy8K7W5GCEu+4+cnmpPNP2ycB3qvbsbSjy72JnoLjN+AvjJezcy5P+Qy
/+uLZdUgWasn3pGCwBB9QojLzpLbCtpH37fB69p2KyJCO9RpurwWhzh8Q0ycUY9r
FhqalDzeIe/EMNWo4d1x
=fcn7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.