Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 952d1ce..1d901da 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -183,6 +183,15 @@ for repo in ${repo_names}; do
sed 's|^\(\S\+\) \(.\)\t\([^/]\+\)/repos/\([^/]\+\)-[^/-]\+/PKGBUILD$|\2 \3 \1 \4|'
done | \
sort -u | \
+ sed '
+ s|^D\s|0 \0|
+ t
+ s|^[AM]\s|1 \0|
+ t
+ s|^|2 |
+ ' | \
+ sort -k1,1 | \
+ sed 's|^[012] ||' | \
while read -r mode package git_revision repository; do
case "${mode}" in