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

about echoing message in maintainer scripts



Hi again,

Regarding the use of >&2 redirection in some echoing message,
is this useful when it is not to really do something special (hiding, ...)?

For instance:
$ sed -n 60,61p /var/lib/dpkg/info/xserver-xorg-legacy.postinst
    echo "not updating $XWRAPPER_CONFIG; problems communicating" \
         "with debconf database" >&2

Is there something about this in Debian Policy?
(I checked this section:
https://www.debian.org/doc/debian-policy/ch-binary.html#maintainer-scripts)

Thanks,
Patrice


Reply to: