[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3' - loolwsd-systemplate-setup
Michael Meeks
michael.meeks at collabora.com
Wed Mar 14 14:58:24 UTC 2018
loolwsd-systemplate-setup | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
New commits:
commit a459470ef0b9460bb802bc450eada2ef8e7fddf6
Author: Michael Meeks <michael.meeks at collabora.com>
Date: Sat Mar 10 13:50:43 2018 +0000
Clean up un-used pcf fonts from the systemplate to shrink it.
Also drop ~/docs/ copying for devs - too generic a name.
Change-Id: Ib9416e23fa7f09ec923e03551c6c7b85bc3defe3
Reviewed-on: https://gerrit.libreoffice.org/51233
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loolwsd-systemplate-setup b/loolwsd-systemplate-setup
index 263a489a9..56ca87d20 100755
--- a/loolwsd-systemplate-setup
+++ b/loolwsd-systemplate-setup
@@ -80,13 +80,15 @@ if [ -h usr/share/fonts/ghostscript ]; then
cp -r -p -L /usr/share/ghostscript/fonts usr/share/ghostscript
fi
+# Remove obsolete & unused bitmap fonts
+find usr/share -name '*.pcf' | xargs rm -f
+find usr/share -name '*.pcf.gz' | xargs rm -f
+
# Debugging only hackery to avoid confusion.
if test "z$ENABLE_DEBUG" != "z" -a "z$HOME" != "z"; then
echo "Copying development users's fonts into systemplate"
mkdir -p $CHROOT/$HOME
- mkdir -p $CHROOT/$HOME/docs
test -d $HOME/.fonts && cp -r -p -L $HOME/.fonts $CHROOT/$HOME
- test -d $HOME/docs && cp -r -p -L $HOME/docs $CHROOT/$HOME
fi
exit 0
More information about the Libreoffice-commits
mailing list