commit 0fccff87331193bcef706f193a49100f6f3faf32
parent 1b4af75217fb3723e6ec1bd78f34cd1107c448ca
Author: ccx <root@dorje.wpr.cz>
Date: Thu, 23 Jun 2022 11:57:32 +0200
Allow running confz in verbose mode.
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/install b/install
@@ -271,7 +271,11 @@ postinstall() {
# Check if we need to regenerate containers or their service directories.
if link_changed bzr/containers || link_changed bzr/confz; then
- zsh -lc "quiet=1 confz site_containers" </dev/null 2>&1 | cat -v
+ if (( $+confz_verbose )); then
+ zsh -lc "verbose=1 confz site_containers" </dev/null 2>&1 | cat -v
+ else
+ zsh -lc "quiet=1 confz site_containers" </dev/null 2>&1 | cat -v
+ fi
ret=$((${(j.|.)pipestatus})) # Nonzero iff any of commands in pipeline returned nonzero.
if (($ret)); then
echo >&2 "Error: command failed ($ret): confz site_containers"