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:
authorErich Eckner <git@eckner.net>2017-06-09 14:52:19 +0200
committerErich Eckner <git@eckner.net>2017-06-09 14:52:19 +0200
commit80d6523ed8645286807382a6f3a90a841a09c9bb (patch)
tree31cb2b6fef7c2383f3f7e8a47eb3645dbd4adf1d /bin/get-package-updates
parentc43196ade89ccb36d1075e55b04b8b61f24836f6 (diff)
bin/get-package-updates: blacklist lib32-* instead of ignoring
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates11
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 328f8e3..c3b49a7 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -149,9 +149,7 @@ for repo in "${!repo_paths[@]}"; do
grep -v -- '-i686/PKGBUILD$' | \
sed 's|^\(\S\+\) \(.\)\t\([^/]\+\)/repos/\([^/]\+\)-[^/-]\+/PKGBUILD$|\2 \3 \1 \4|' | \
# ignore staging and testing
- grep -v '\(staging\|testing\)$' | \
- # ignore lib32- packages (they should all have a pendent built for x86_64)
- grep -v '^. lib32-'
+ grep -v '\(staging\|testing\)$'
done | \
sort -u | \
while read -r mode package git_revision repository; do
@@ -274,7 +272,14 @@ echo 'apply blacklisting'
black_listed=''
black_listed_new="$(
cat "${repo_paths["archlinux32"]}/blacklist"
+ ls "${work_dir}/package-infos/" | \
+ grep '^lib32-.*\.depends' | \
+ sed '
+ s|^.*/||
+ s|\(\.[^.]\+\)\{3\}$||
+ '
)"
+
while [ -n "${black_listed_new}" ]; do
black_listed="$(
printf '%s\n%s' "${black_listed}" "${black_listed_new}"