From c43affacd3c6d14264020dbe849c36dce3c9f80a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 10 Oct 2017 13:19:17 +0200 Subject: bin/get-package-updates: set correct revision in case of not-deleted-but-modified PKGBUILD --- bin/get-package-updates | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/get-package-updates b/bin/get-package-updates index d5bd4b8..237c779 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -191,6 +191,7 @@ done | \ while read -r mode package git_revision repository; do if [ "${mode}" = 'D' ]; then # deleted PKGBUILD + git_revision=$(cat "${work_dir}/packages32.revision") found_package=false for repository in ${repo_names}; do eval 'repo_path="${repo_paths__'"${repository}"'}"' @@ -207,6 +208,7 @@ done | \ cut -d/ -f3 | \ grep -v 'staging\|testing\|-unstable' | \ grep -vq -- '-i686$'; then + git_revision=$(cat "${work_dir}/${repository}.revision") found_package=true break; fi -- cgit v1.2.3-70-g09d2