summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-04-23 02:46:15 +0200
committerErich Eckner <git@eckner.net>2017-04-23 02:46:15 +0200
commit2d9d1a63a5757e611103507f60de9fd5f3cb0031 (patch)
treeeab54dcafbda16923732a370e2dcc2b302e74b1d /bin/get-package-updates
parenta491c3e24a96782afe143c9fb42caac67fbfe3b5 (diff)
downloadbuilder-2d9d1a63a5757e611103507f60de9fd5f3cb0031.tar.xz
bin/get-package-updates: ignore packages in multiple repositories
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index fc62541..446f977 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -179,7 +179,7 @@ echo 'Now actually sort it.'
) | \
sort -k4,4 -k1nr | \
uniq -f3 -D | \
- sed 'N;s|\n| |' | \
+ sed '/^0 /d;N;s|\n| |' | \
sort -k1n,1 | \
awk '{print $4 " " $6 " " $7}' > \
"${work_dir}/build-list.new.new"