From 8f9d69bd32fcea40f33453a110a099bbda070b9c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 9 Dec 2017 22:38:18 +0100 Subject: bin/db-update: undo ae193d3 -- it introduced a bug :-/ --- bin/db-update | 12 +++++------- 1 file 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 { -- cgit v1.2.3-70-g09d2