Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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 069277a..55efee4 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -343,9 +343,14 @@ black_listed_new=$(
if [ -n "${test_exclusion}" ]; then
echo "${test_exclusion}"
fi
- find "${work_dir}/package-infos" -maxdepth 1 -name 'lib32-*' -printf '%f\n' | \
- sed 's|\(\.[^.]\+\)\{4\}$||' | \
- uniq
+ # shellcheck disable=SC2016
+ {
+ printf 'SELECT DISTINCT `package_sources`.`pkgbase`'
+ printf ' FROM `package_sources`'
+ printf ' WHERE `package_sources`.`pkgbase` LIKE "lib32-%%"'
+ } | \
+ ${mysql_command} --raw --batch | \
+ sed '1d'
} | \
sort -u
)