diff --git a/scripts/install b/scripts/install index 6262d04..33a1a85 100755 --- a/scripts/install +++ b/scripts/install @@ -54,6 +54,7 @@ ynh_add_nginx_config pushd $install_dir/lemmy-ui ynh_use_nodejs ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn add sharp + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm rebuild sharp popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 0f6d7f2..0b9dcd8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -83,6 +83,7 @@ ynh_add_nginx_config pushd $install_dir/lemmy-ui ynh_use_nodejs ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn add sharp + ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm rebuild sharp popd #=================================================