diff options
-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 { |