Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/sanity-check
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-06-03 08:51:14 +0200
committerErich Eckner <git@eckner.net>2023-06-03 08:51:14 +0200
commit3d1381fc22e55633e5b21b60cd6324a3b780a11c (patch)
treeb708f11b88399710b2e997ce34603ba489686d35 /bin/sanity-check
parent025048ffc9fc8890049156574d9cffed030aabae (diff)
make sanity-check more verbose
* tell, which architecture has inconsistent state
Diffstat (limited to 'bin/sanity-check')
-rwxr-xr-xbin/sanity-check6
1 files changed, 4 insertions, 2 deletions
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