From a1c5df6f33456cf7a7a49fafcd3adfd6a9313614 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 12 Jul 2023 07:56:48 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index 06a9d25..f36f87d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -85,6 +85,15 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." - # Create a dedicated NGINX config ynh_add_nginx_config +#================================================= +# INSTALL SHARP +#================================================= + +pushd $install_dir/lemmy-ui + ynh_use_nodejs + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn add sharp +popd + #================================================= # SPECIFIC UPGRADE #=================================================