diff options
author | Erich Eckner <git@eckner.net> | 2018-01-21 21:37:46 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-21 21:37:46 +0100 |
commit | ac158e4b3c459b615ecff930181d81f587d6a414 (patch) | |
tree | 44cbe810c14b2e48202b889257b6f46a857522f0 /bin/get-package-updates | |
parent | 9ff95b0b5b89d3b0b415e539035cb7876f6bac56 (diff) | |
download | builder-ac158e4b3c459b615ecff930181d81f587d6a414.tar.xz |
bin/get-package-updates: accelleration and bugfix
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-x | bin/get-package-updates | 4 |
1 files changed, 3 insertions, 1 deletions
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" |