From 5fc57865a4124c4432333cb73468ac2494e91d75 Mon Sep 17 00:00:00 2001 From: Ben Armstrong Date: Fri, 15 Aug 2014 09:51:22 -0300 Subject: Exclude lib and non-main sections as tasksel does (Closes: #758218). --- share/bin/Packages | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share/bin/Packages') diff --git a/share/bin/Packages b/share/bin/Packages index 2f7ae8c69..929aaa491 100755 --- a/share/bin/Packages +++ b/share/bin/Packages @@ -27,4 +27,5 @@ fi _FIELD="${1}" _VALUE="${2}" -grep-aptavail -n -sPackage -F${_FIELD} ${_VALUE} | sort +# For compatibility with tasksel, exclude lib and non-main packages +grep-aptavail -n -sPackage -F${_FIELD} ${_VALUE} -a -! -e -FSection '^(lib|/)' | sort -- cgit v1.2.3