From 3d1381fc22e55633e5b21b60cd6324a3b780a11c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 3 Jun 2023 08:51:14 +0200 Subject: make sanity-check more verbose * tell, which architecture has inconsistent state --- bin/sanity-check | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/sanity-check b/bin/sanity-check index 60cb958..2844246 100755 --- a/bin/sanity-check +++ b/bin/sanity-check @@ -368,7 +368,8 @@ while [ $# -gt 0 ]; do ) || true if [ -n "${errors}" ]; then if [ ${silence} -le 1 ]; then - printf '\nThe following packages in %s are missing a signature or vice versa:\n%s\n' \ + printf '\nThe following packages in %s/%s are missing a signature or vice versa:\n%s\n' \ + "${arch}" \ "${repo}" \ "${errors}" | \ tee -a "${tmp_dir}/messages" >&2 @@ -403,7 +404,8 @@ while [ $# -gt 0 ]; do ) if [ -n "${errors}" ]; then if [ ${silence} -le 1 ]; then - printf '\nThe following packages in %s are missing from the database or vice versa:\n%s\n' \ + printf '\nThe following packages in %s/%s are missing from the database or vice versa:\n%s\n' \ + "${arch}" \ "${repo}" \ "${errors}" | \ tee -a "${tmp_dir}/messages" >&2 -- cgit v1.2.3-54-g00ecf