diff --git a/scripts/install b/scripts/install index 33a1a85..3ce967c 100755 --- a/scripts/install +++ b/scripts/install @@ -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