]> git.ipfire.org Git - pakfire.git/commitdiff
find-provides: Only handle shared objects
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Jul 2023 10:45:49 +0000 (10:45 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 19 Jul 2023 10:45:49 +0000 (10:45 +0000)
The previous pattern matched other files like "*.socket".

Fixes: #13027 - Pakfire thinks .socket files are .so files
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/find-provides

index 7020186256e3a7390e07a0ed62754545ea388c50..0f0b003f6068b744b53b973b63d80411f219c200 100644 (file)
@@ -110,7 +110,7 @@ main() {
                                ;;
 
                        # Shared objects
-                       *.so*)
+                       *.so|*.so.*)
                                # Skip symlinks
                                if [ -L "${path}" ]; then
                                        continue