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:49:02 +01:00
parent a985cc0432
commit 208f3012d0

View file

@ -54,7 +54,6 @@ 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
#=================================================
@ -157,6 +156,13 @@ yunohost service add $app-pict-rs --description="Simple image hosting service fo
#=================================================
# START SYSTEMD SERVICE
#=================================================
# TMP rebuild sharp
pushd $install_dir/lemmy-ui
ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH npm rebuild sharp
popd
ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service