diff --git a/install/etc/cont-init.d/10-coolwsd b/install/etc/cont-init.d/10-coolwsd
index e550867..081ba21 100755
--- a/install/etc/cont-init.d/10-coolwsd
+++ b/install/etc/cont-init.d/10-coolwsd
@@ -78,6 +78,7 @@ if [ -d /assets/custom-fonts/ ] ; then
chmod +rx /assets/custom-fonts
ln -s /assets/custom-fonts /usr/share/fonts/truetype/custom
silent fc-cache -f -v
+ silent sudo -i cool fc-cache -f -v
rm -rf /opt/cool/systemplate/*
silent sudo -u cool /opt/cool/bin/coolwsd-systemplate-setup /opt/cool/systemplate /opt/libreoffice
fi
@@ -128,18 +129,18 @@ if [ "${SETUP_TYPE,,}" = "auto" ]; then
## Language Tool
sed -i \
-e "s|.*|${ENABLE_LANGUAGE_TOOL,,}|g" \
- -e "s|.*<\/base_url>|${LANGUAGE_TOOL_BASE_URL}<\/base_url>|" \
- -e "s|.*<\/user_name>|${LANGUAGE_TOOL_USER_NAME}<\/user_name>|" \
- -e "s|.*<\/api_key>|${LANGUAGE_TOOL_API_KEY}<\/api_key>|" \
- -e "s|.*<\/ssl_verification>|${LANGUAGE_TOOL_SSL_VERIFY,,}<\/ssl_verification>|" \
- -e "s|.*<\/rest_protocol>|${LANGUAGE_TOOL_REST_PROTOCOL,,}<\/rest_protocol>|" \
+ -e "s|.*<\/base_url>|${LANGUAGE_TOOL_BASE_URL}<\/base_url>|g" \
+ -e "s|.*<\/user_name>|${LANGUAGE_TOOL_USER_NAME}<\/user_name>|g" \
+ -e "s|.*<\/api_key>|${LANGUAGE_TOOL_API_KEY}<\/api_key>|g" \
+ -e "s|.*<\/ssl_verification>|${LANGUAGE_TOOL_SSL_VERIFY,,}<\/ssl_verification>|g" \
+ -e "s|.*<\/rest_protocol>|${LANGUAGE_TOOL_REST_PROTOCOL,,}<\/rest_protocol>|g" \
/etc/coolwsd/coolwsd.xml
## DeepL
sed -i \
-e "s|.*|${ENABLE_DEEPL,,}|g" \
- -e "s|.*<\/api_url>|${DEEPL_API_URL}<\/api_url>|" \
- -e "s|.*<\/auth_key>|${DEEPL_AUTH_KEY}<\/auth_key>|g" \
+ -e "s|.*<\/api_url>|${DEEPL_API_URL}<\/api_url>|g" \
+ -e "s|.*<\/auth_key>|${DEEPL_AUTH_KEY}<\/auth_key>|g" \
/etc/coolwsd/coolwsd.xml