From 7fdb792cc5bb175d2eec42b48ef21e036f664588 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 5 Oct 2020 15:51:48 +0200 Subject: XFCE: remove un-used old ICU libraries to save space --- make_slackware_live.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 127647c..e9e22c2 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -613,6 +613,12 @@ function install_pkgs() { cd - 1>/dev/null fi done + # Remove big old ICU libraries that are not needed for the XFCE image: + if [ -e "$2"/var/log/packages/aaa_elflibs-[0-9]* ]; then + for ICUFILE in $(grep /libicu "$2"/var/log/packages/aaa_elflibs-[0-9]*) ; do + rm -f "$2"/$ICUFILE ; + done + fi fi } # End install_pkgs() -- cgit v1.2.3