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
a985cc0432
commit
208f3012d0
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue