diff --git a/scripts/install b/scripts/install index b350864..26ae24b 100644 --- a/scripts/install +++ b/scripts/install @@ -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 #================================================= diff --git a/scripts/restore b/scripts/restore index 1467c11..92b9830 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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 #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index f8e177e..75120c5 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 #=================================================