Commit 5fc57865 authored by Ben Armstrong's avatar Ben Armstrong Committed by Daniel Baumann
Browse files

Exclude lib and non-main sections as tasksel does (Closes: #758218).

parent 23b8ec4f
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment