From b475e436dd261119c0838231696f401f8aa48d7e Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Wed, 23 Jul 2025 20:56:36 +0200 Subject: [PATCH] the depfilter awk now installs all deps that are not optional and skips optional docs previously docs were always skipped --- depfilter.awk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/depfilter.awk b/depfilter.awk index 1116e2e..e7f916b 100644 --- a/depfilter.awk +++ b/depfilter.awk @@ -1,5 +1,13 @@ #!/usr/bin/awk -f -$1 ~ /^(|opt|make)depends(_x86_64)?$/ { +$1 ~ /^(make)?depends(_x86_64)?$/ { + if ($3 ~ /.+:/) { + print substr($3, 1, length($3)-1) + } else { + print $3 + } +} + +$1 ~ /^optdepends(_x86_64)?$/ { if ($3 ~ /.+-doc:?/) { next }