diff --git a/CHANGELOG.md b/CHANGELOG.md index fef26ce..4892e49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 2.1.1 2021-04-11 + + ### Fixed + - Safety net to enforce custom fonts to be included + + ## 2.1.0 2021-04-11 ### Added diff --git a/install/etc/cont-init.d/10-loolwsd b/install/etc/cont-init.d/10-loolwsd index be43327..32c8771 100755 --- a/install/etc/cont-init.d/10-loolwsd +++ b/install/etc/cont-init.d/10-loolwsd @@ -36,8 +36,12 @@ fi ### Load Custom Fonts if [ -d /assets/custom-fonts/ ] ; then - print_warn "Found Custom Fonts to insert Execute" + print_warn "Found Custom Fonts to insert" + chown -R lool /assets/custom-fonts + chmod +rx /assets/custom-fonts ln -s /assets/custom-fonts /usr/share/fonts/truetype/custom + fc-cache -f -v > /dev/null 2&>1 + sudo -u lool /opt/lool/bin/loolwsd-systemplate-setup /opt/lool/systemplate /opt/libreoffice > /dev/null 2&>1 fi if var_true "${ENABLE_TLS}" ; then