From 23609ff2e07de412a4da59dab05dc1cbaada5bca Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 14:38:55 +0200 Subject: add some debug output * make it not appear as it is stuck --- bin/get-package-updates | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index a00e95c..a4c273d 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -112,6 +112,7 @@ delete_package() { local architecture="$1" local pkgbase="$2" local repository="$3" + >&2 printf 'delete_package %s %s %s\n' "${architecture}" "${pkgbase}" "${repository}" # shellcheck disable=SC2016 query_delete_packages=$( printf '`architectures` AS `d_a`' @@ -190,6 +191,9 @@ delete_package() { # check_if_package_should_be_deleted $pkgbase $repository check_if_package_should_be_deleted() { + local pkgbase="$1" + local repository="$2" + >&2 printf 'check_if_package_should_be_deleted %s %s\n' "${pkgbase}" "${repository}" if git -C "${repo_paths__archlinux32}" archive "${new_repo_revisions__archlinux32}" -- "${repository}/${pkgbase}" >/dev/null 2>&1; then return 1 fi -- cgit v1.2.3-70-g09d2