• about echoing message in maintainer scripts

    From Patrice Duroux@21:1/5 to All on Mon Apr 24 20:40:01 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)