Package: debconf Version: 1.4.70 Severity: important
I'm using /bin/zsh as /bin/sh. Whereas the old code: ,---- [ /usr/share/debconf/confmodule before 1.4.70 ] | # Only do this once. | if [ -z "$DEBCONF_REDIR" ]; then | # Redirect standard output to standard error. This prevents common | # mistakes by making all the output of the postinst or whatever | # script is using this library not be parsed as confmodule commands. | # | # To actually send something to standard output, send it to fd 3. | exec 3>&1 1>&2 | DEBCONF_REDIR=1 | export DEBCONF_REDIR | fi `---- worked as expected the new code fails: ,---- [/usr/share/debconf/confmodule 1.4.70 ] | # Only do this once. | if [ -z "$DEBCONF_REDIR" ]; then | # Redirect standard output to standard error. This prevents common | # mistakes by making all the output of the postinst or whatever | # script is using this library not be parsed as confmodule commands. | # | # To actually send something to standard output, send it to fd 3. | exec 3>&1 | if [ "$DEBCONF_USE_CDEBCONF" ]; then | exec 1>&5 | else | exec 1>&2 | fi | DEBCONF_REDIR=1 | export DEBCONF_REDIR | fi `---- Example: # /usr/share/debconf/frontend /var/lib/dpkg/info/apmd.postinst configure || echo problem problem This causes every package using '. /usr/share/debconf/confmodule' in maintainer scripts failing install/upgrade. If I add an 'echo' before the 'exec 1>&2'-line it works. It also works if I remove the "$DEBCONF_USE_CDEBCONF"-code. regards, -mika- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

