filesystem-cleanup: Ignore boost

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>
This commit is contained in:
Michael Tremer
2021-02-27 15:27:42 +00:00
parent e1f33fdcec
commit 3358a84fd5

View 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}")"