From 329bf724368aed075f28002cf2f1d40d8f325de8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 14 Mar 2018 06:38:15 +0100 Subject: bin/get-package-updates: remove old locked and blocked marker of _updated_ packages, too --- bin/get-package-updates | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index b48660d..081f457 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -317,6 +317,9 @@ done | \ if [ "${mode}" = 'A' ] || [ "${mode}" = 'M' ]; then # new or modified PKGBUILD sed -i "/^$(str_to_regex "${package}") /d" "${work_dir}/build-list.new" + find "${work_dir}/package-states" -regextype grep \ + -regex ".*/$(str_to_regex "${package}")\(\.[0-9a-f]\{40\}\)\{2\}\.[^.]\+\.\(blocked\|broken\)" \ + -delete # shellcheck disable=SC2154 echo "${package} ${git_revision} ${new_repo_revisions__archlinux32} ${repository}" >> \ "${work_dir}/build-list.new" -- cgit v1.2.3-70-g09d2