Update 2024-12-31 13:12 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id 2024-12-31 13:12:46 +01:00
parent 6db769365d
commit 0bda01c32e

View File

@ -68,14 +68,12 @@ _do_sql() {
WITH RECURSIVE pkg(x) AS (
SELECT \"$1\"
UNION
SELECT distinct fulldepends FROM depends
SELECT distinct dependspath FROM depends
JOIN pkg ON fullpkgpath=x WHERE type in ($2)
) SELECT x, fullpkgname FROM pkg
JOIN ports ON fullpkgpath=x;
"
# call sqliste and remove the STEM entries from the result
sqlite3 "$_sqlports" "$_query" \
| cut -d: -f2
sqlite3 "$_sqlports" "$_query"
}
_handle_list() {