summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-10-05 15:51:48 +0200
committer Eric Hameleers <alien@slackware.com>2020-10-05 15:51:48 +0200
commit7fdb792cc5bb175d2eec42b48ef21e036f664588 (patch)
tree03e73f8cf08132eaed9afbcdbe70b251dca58454
parent9ad3df557bc670e9e6476e3911d3d801eed3a143 (diff)
downloadliveslak-7fdb792cc5bb175d2eec42b48ef21e036f664588.tar.gz
liveslak-7fdb792cc5bb175d2eec42b48ef21e036f664588.tar.xz
XFCE: remove un-used old ICU libraries to save space
-rwxr-xr-xmake_slackware_live.sh6
1 files changed, 6 insertions, 0 deletions
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()