From ac158e4b3c459b615ecff930181d81f587d6a414 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 21 Jan 2018 21:37:46 +0100 Subject: bin/get-package-updates: accelleration and bugfix --- bin/get-package-updates | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/get-package-updates b/bin/get-package-updates index 2666629..763d01a 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -7,6 +7,8 @@ # shellcheck source=conf/default.conf . "${0%/*}/../conf/default.conf" +. "${base_dir}/bin/mysql-functions" + # TODO: Find out, why sometimes package updates are missed. # shellcheck disable=SC2016 @@ -268,6 +270,7 @@ done | \ echo "${package} ${git_revision} ${new_repo_revisions__archlinux32} ${repository}" >> \ "${work_dir}/build-list.new" sed -i "/^$(str_to_regex "${package}")\$/d" "${work_dir}/deletion-list.new" + mysql_generate_package_metadata "${package}" "${git_revision}" "${new_repo_revisions__archlinux32}" "${repository}" continue fi @@ -287,7 +290,6 @@ mkdir -p "${work_dir}/package-infos" while read -r package git_revision mod_git_revision repository; do generate_package_metadata "${package}" "${git_revision}" "${mod_git_revision}" "${repository}" - myqsl_generate_package_metadata "${package}" "${git_revision}" "${mod_git_revision}" "${repository}" done < "${work_dir}/build-list.new" -- cgit v1.2.3-70-g09d2