Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-09 14:47:18 +0200
committerErich Eckner <git@eckner.net>2017-06-09 14:47:18 +0200
commit0708ebe2ef93780bb7b7885ea140e2b1458a9c13 (patch)
treee4de851589ec759e31fe5cb603a740ce2e943bd7
parentdd3d74b220ee9d1b245fdccc779cd78113db09a8 (diff)
bin/get-package-updates: remove duplicates from deletion-list
-rwxr-xr-xbin/get-package-updates5
1 files changed, 5 insertions, 0 deletions
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.