From c37930f4ada09d164a8e36aeb5ff6bc810b77d5a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Tue, 25 Jun 2024 00:06:41 +0200 Subject: [PATCH] Update upgrade: gotta install nodejs in upgrade too otherwise nodejs_version setting may be empty (fetched by ynh_use_nodejs) from legacy installs ... --- scripts/upgrade | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index f6d6e51..86ca9c2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -7,6 +7,13 @@ source _common.sh source /usr/share/yunohost/helpers +#================================================= +# INSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Installing nodejs..." + +ynh_install_nodejs --nodejs_version=$nodejs_version + #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #=================================================