Update upgrade: gotta install nodejs in upgrade too otherwise nodejs_version setting may be empty (fetched by ynh_use_nodejs) from legacy installs ...

This commit is contained in:
Alexandre Aubin 2024-06-25 00:06:41 +02:00 committed by GitHub
parent 3ea0844cb9
commit c37930f4ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,6 +7,13 @@
source _common.sh source _common.sh
source /usr/share/yunohost/helpers 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 # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================