#! /bin/sh /usr/share/dpatch/dpatch-run ## 01_replace_fuzzy_chars.dpatch by Dario Minnucci <debian@midworld.net> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: This patch is used to replace fuzzy characters present in vcheck executable to issue STDOUT messages and generate the manpage. Avoid Lintian to issue 'W: vcheck binary: manpage-has-errors-from-man usr/share/man/man1/vcheck.1p.gz /tmp/zman3cAY6t:484: warning: can't find numbered character 167' when building package from source.
Implement "--noverbose" when output is not a TTY. --verbose is implied when STDOUT is not a terminal and there's no way of switching it off.
This patch allows to use --noverbose even when stdout is not a TTY, leaving the default as it was before. When running quiet, vcheck now doesn't print any output unless there's a version difference or error.