index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-03-14 06:38:15 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-14 06:38:15 +0100 |
commit | 329bf724368aed075f28002cf2f1d40d8f325de8 (patch) | |
tree | a49651621ad046e48b1a68566cd1b04da4dd4f70 /bin | |
parent | fad367e19d2adb6662a5543645e77190e85e94e9 (diff) |
-rwxr-xr-x | bin/get-package-updates | 3 |
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" |