Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-10 13:19:17 +0200
committerErich Eckner <git@eckner.net>2017-10-10 13:19:17 +0200
commitc43affacd3c6d14264020dbe849c36dce3c9f80a (patch)
tree415a6f6ad27a5021895496c0f9011232a3a531f1 /bin
parent6bbcc70c01bf1436b6b0aa8e564f553bf6e1eb04 (diff)
bin/get-package-updates: set correct revision in case of not-deleted-but-modified PKGBUILD
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-package-updates2
1 files changed, 2 insertions, 0 deletions
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