From: Michael Tremer Date: Sat, 27 Feb 2021 15:27:42 +0000 (+0000) Subject: filesystem-cleanup: Ignore boost X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3358a84fd597b70a226ced1e1313ce428e93e4b0;p=people%2Fms%2Fipfire-2.x.git 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 --- diff --git a/src/scripts/filesystem-cleanup b/src/scripts/filesystem-cleanup index 932e7dc6ce..e0eb0d3611 100644 --- a/src/scripts/filesystem-cleanup +++ b/src/scripts/filesystem-cleanup @@ -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}")"