1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

Merge pull request #36 from YunoHost-Apps/fix-allfonts

[fix] Ensure fonts are generated
This commit is contained in:
Alexandre Aubin 2020-05-23 17:40:07 +02:00 committed by GitHub
commit 29c2362238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

View file

@ -159,6 +159,14 @@ supervisorctl restart all
sleep 30
#=================================================
# REGENERATE FONTS
#=================================================
ynh_print_info --message="Generating fonts..."
/usr/bin/documentserver-generate-allfonts.sh
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -119,6 +119,13 @@ ynh_print_info --message="Restoring the configuration..."
ynh_restore_file --origin_path="/etc/onlyoffice"
#=================================================
# REGENERATE FONTS
#=================================================
ynh_print_info --message="Generating fonts..."
/usr/bin/documentserver-generate-allfonts.sh
#=================================================
# GENERIC FINALIZATION
#=================================================

View file

@ -152,6 +152,13 @@ ynh_replace_string --match_string="\"rejectUnauthorized\": true" --replace_strin
# Recalculate and store the checksum of the file for the next upgrade.
ynh_store_file_checksum --file="/etc/onlyoffice/documentserver/default.json"
#=================================================
# REGENERATE FONTS
#=================================================
ynh_print_info --message="Generating fonts..."
/usr/bin/documentserver-generate-allfonts.sh
#=================================================
# GENERIC FINALIZATION
#=================================================