diff options
author | Erich Eckner <git@eckner.net> | 2017-12-09 22:38:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-12-09 22:38:18 +0100 |
commit | 8f9d69bd32fcea40f33453a110a099bbda070b9c (patch) | |
tree | 6cbe0e39886ad497a2029a788a57bdb1f55ba343 /bin/db-update | |
parent | 638581d3298c979aca14e1bba367426bdd3c22e0 (diff) | |
download | builder-8f9d69bd32fcea40f33453a110a099bbda070b9c.tar.xz |
bin/db-update: undo ae193d3 -- it introduced a bug :-/
Diffstat (limited to 'bin/db-update')
-rwxr-xr-x | bin/db-update | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/bin/db-update b/bin/db-update index bf2dd99..44be174 100755 --- a/bin/db-update +++ b/bin/db-update @@ -495,6 +495,11 @@ find "${work_dir}/package-infos" -name '*.groups' \ } > \ "${tmp_dir}/force-unstage-packages" +>&2 printf 'calculate what packages should be unstaged ...' +find_biggest_subset_of_packages "${tmp_dir}/done-packages" "${tmp_dir}/build-list-packages" "${tmp_dir}/all-builds" "${tmp_dir}/all-depends" "${tmp_dir}/force-unstage-packages" > \ + "${tmp_dir}/unstage-packages" +>&2 printf ' ok.\n' + # no base packages on the build list anymore? if [ -z "$( join -j 1 \ @@ -513,13 +518,6 @@ if [ -z "$( "${tmp_dir}/unstage-packages" >&2 printf ' ok.\n' -else - - >&2 printf 'calculate what packages should be unstaged ...' - find_biggest_subset_of_packages "${tmp_dir}/done-packages" "${tmp_dir}/build-list-packages" "${tmp_dir}/all-builds" "${tmp_dir}/all-depends" "${tmp_dir}/force-unstage-packages" > \ - "${tmp_dir}/unstage-packages" - >&2 printf ' ok.\n' - fi { |