]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
filesystem-cleanup: Ignore boost
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Feb 2021 15:27:42 +0000 (15:27 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Feb 2021 15:27:42 +0000 (15:27 +0000)
This package does not behave according to standard distribution rules
and our script deletes all libraries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/filesystem-cleanup

index 932e7dc6cede98a250b7d81adf118551ec52645b..e0eb0d36118c49c1901e88df6afe0fb9fcab975e 100644 (file)
@@ -53,6 +53,13 @@ main() {
                # Find all files called libsomething.so.N
                local lib
                for lib in $(find "${path}" -maxdepth 1 -type l -name "lib*.so.*" | sort); do
+                       # Ignore some libraries
+                       case "${lib}" in
+                               */libboost*)
+                                       continue
+                                       ;;
+                       esac
+
                        # Read the name of the linked library
                        local link="$(readlink -m "${lib}")"