From 088d636c69619e567429348942c1818790854c90 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 25 Aug 2017 10:12:46 +0200 Subject: bin/db-update: bugfix --- bin/db-update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/db-update b/bin/db-update index 1efc776..de0f3ac 100755 --- a/bin/db-update +++ b/bin/db-update @@ -454,13 +454,13 @@ for ending in 'done' 'testing'; do continue fi if [ -n "$( - find "${work_dir}/package-states" -name ".${ending}" -printf '%f\n' | \ + find "${work_dir}/package-states" -name "*.${ending}" -printf '%f\n' | \ sed 's|\(\.[^.]\+\)\{4\}$||' | \ sort | \ uniq -d )" ]; then >&2 echo 'Removing duplicates not yet implemented:' - find "${work_dir}/package-states" -name ".${ending}" -printf '%f\n' | \ + find "${work_dir}/package-states" -name "*.${ending}" -printf '%f\n' | \ sed 's|\(\.[^.]\+\)\{4\}$||' | \ sort | \ uniq -d -- cgit v1.2.3-70-g09d2