From 0708ebe2ef93780bb7b7885ea140e2b1458a9c13 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 9 Jun 2017 14:47:18 +0200 Subject: bin/get-package-updates: remove duplicates from deletion-list --- bin/get-package-updates | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index 6480349..00b11e1 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -177,6 +177,11 @@ done | \ esac done +sort -u "${work_dir}/deletion-list.new" > \ + "${work_dir}/deletion-list.new.new" + +mv "${work_dir}/deletion-list.new"{.new,} + echo 'Extract dependencies of packages.' # First, we extract the dependencies of each package. -- cgit v1.2.3-70-g09d2