From: Michael Tremer Date: Thu, 8 Dec 2022 15:08:13 +0000 (+0000) Subject: find-requires: Fix matching Python paths X-Git-Tag: 0.9.28~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=db0d0689ab21a8e866d466feba00d4ac90547842;p=pakfire.git find-requires: Fix matching Python paths Signed-off-by: Michael Tremer --- diff --git a/src/scripts/find-requires b/src/scripts/find-requires index 7ca431622..6754e6fcd 100644 --- a/src/scripts/find-requires +++ b/src/scripts/find-requires @@ -200,7 +200,7 @@ main() { ;; # Catch the module directory - /usr/lib*/python*) + /usr/lib*/python[0-9]\.[0-9]*) # This will only get the python directory file="$(basename "${file}")"