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:
parent
cd4f98c489
commit
a985cc0432
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue