index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-03-07 20:01:15 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-07 20:01:15 +0100 |
commit | b61c5f236ced1841b84c7d24feedad500b685509 (patch) | |
tree | a0f707d4b3ff9772f66542081815805667cba616 /bin | |
parent | a13bfbacf27d09f7c8ea6b4b559b0980ee8957b9 (diff) |
-rwxr-xr-x | bin/get-package-updates | 3 |
diff --git a/bin/get-package-updates b/bin/get-package-updates index a95bd94..1e0502f 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -105,6 +105,9 @@ delete_package() { echo "$1" >> \ "${work_dir}/deletion-list.new" sed -i "/^$(str_to_regex "${1}") /d" "${work_dir}/build-list.new" + find "${work_dir}/package-states" -maxdepth 1 -mindepth 1 -regextype grep \ + -regex '.*/'"$(str_to_regex "${1}")"'\(\.[^.]\+\)\{3\}\.\(blocked\|locked\)' \ + -delete # TODO: Once we want to rely on the database for test_exclusion, we # need to run the command below unconditionally, but with some # changes, so we can easily revert. |