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:
commit
29c2362238
3 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue