diff options
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-x | bin/get-package-updates | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates index 237c779..dea542f 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -191,24 +191,24 @@ done | \ while read -r mode package git_revision repository; do if [ "${mode}" = 'D' ]; then # deleted PKGBUILD - git_revision=$(cat "${work_dir}/packages32.revision") + git_revision=$(cat "${work_dir}/packages32.revision.new") found_package=false for repository in ${repo_names}; do eval 'repo_path="${repo_paths__'"${repository}"'}"' if [ "${repository}" = "archlinux32" ]; then - if git -C "${repo_path}" archive "$(cat "${work_dir}/${repository}.revision")" 2> /dev/null | \ + if git -C "${repo_path}" archive "$(cat "${work_dir}/${repository}.revision.new")" 2> /dev/null | \ tar -t 2> /dev/null | \ grep -q "$(str_to_regex "${package}")/PKGBUILD$"; then found_package=true break; fi else - if git -C "${repo_path}" archive "$(cat "${work_dir}/${repository}.revision")" -- "${package}/repos" 2> /dev/null | \ + if git -C "${repo_path}" archive "$(cat "${work_dir}/${repository}.revision.new")" -- "${package}/repos" 2> /dev/null | \ tar -t --wildcards "${package}/repos/*/PKGBUILD" 2> /dev/null | \ cut -d/ -f3 | \ grep -v 'staging\|testing\|-unstable' | \ grep -vq -- '-i686$'; then - git_revision=$(cat "${work_dir}/${repository}.revision") + git_revision=$(cat "${work_dir}/${repository}.revision.new") found_package=true break; fi |