]> git.ipfire.org Git - pakfire.git/commitdiff
find-requires: Fix matching Python paths
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Dec 2022 15:08:13 +0000 (15:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Dec 2022 15:08:13 +0000 (15:08 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/find-requires

index 7ca431622d3cf8999b824009c50f3263866e1e37..6754e6fcd1ab72f6d25b09670b435e5211942927 100644 (file)
@@ -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}")"