Exclude lib and non-main sections as tasksel does (Closes: #758218).
This commit is contained in:
parent
23b8ec4ff8
commit
5fc57865a4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue