From de5e0bb6e268d293e5c3e69dcf6de4e66dcfa684 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 20:27:19 +0200 Subject: short-circuit the package-deletion, it sees "too much" --- bin/get-package-updates | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index 706d2d1..ca2b51a 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -359,9 +359,11 @@ echo 'Check modified packages from the last update, and put them to the build li | uniq -uf2 \ | while read -r mode git_revision pkgbase repository; do if [ "${mode}" = '<' ]; then - if check_if_package_should_be_deleted "${pkgbase}" "${repository}"; then - delete_package 'any' "${pkgbase}" "${repository}" - fi + # TODO: To-be-deleted upstream packages need to be detected separately. + # if we have package x in version y and z, we *always* get a "<" entry, here +# if check_if_package_should_be_deleted "${pkgbase}" "${repository}"; then +# delete_package 'any' "${pkgbase}" "${repository}" +# fi continue fi if git -C "${repo_paths__archlinux32}" archive "${new_repo_revisions__archlinux32}" -- "${repository}/${pkgbase}" >/dev/null 2>&1; then -- cgit v1.2.3-70-g09d2