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

Fix Sharp installation

This commit is contained in:
Gildas 2023-12-23 19:37:49 +01:00
parent cd4f98c489
commit a985cc0432
2 changed files with 2 additions and 0 deletions

View file

@ -54,6 +54,7 @@ ynh_add_nginx_config
pushd $install_dir/lemmy-ui pushd $install_dir/lemmy-ui
ynh_use_nodejs 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 yarn add sharp
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm rebuild sharp
popd popd
#================================================= #=================================================

View file

@ -83,6 +83,7 @@ ynh_add_nginx_config
pushd $install_dir/lemmy-ui pushd $install_dir/lemmy-ui
ynh_use_nodejs 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 yarn add sharp
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm rebuild sharp
popd popd
#================================================= #=================================================