From f06d489ccfae3607d0b5bf442b38fe1ae81b62d6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 31 Jan 2018 13:44:37 +0100 Subject: bin/get-package-updates: read lib32-* packages from database --- bin/get-package-updates | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'bin/get-package-updates') 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 ) -- cgit v1.2.3-70-g09d2