From 71aef281f16e384b9c8f7998cca37bdb6589341c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 13 Sep 2019 14:10:54 +0200 Subject: bin/return-assignment: fix insertion of link-provides --- bin/return-assignment | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/return-assignment') diff --git a/bin/return-assignment b/bin/return-assignment index 035dadf..b0fcd0a 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -899,7 +899,11 @@ while read -r package_id package_name; do t coda s/\s\S\+$/\t0\0/ :coda - s/^/'"${package_id}"'\tlink\t/ + s/^/'"${package_id}"'\t'"$( + if [ "${lib}" = 'needs' ]; then + printf 'link\\t' + fi + )"'/ ' >> "${tmp_dir}/${lib}" done # generate list of make-,check-,rundepends according to .PKGINFO -- cgit v1.2.3-70-g09d2