mirror of
https://github.com/YunoHost-Apps/nocodb_ynh.git
synced 2024-09-03 19:56:01 +02:00
Fix NodeJS version upgrade
This commit is contained in:
parent
14960f13fc
commit
4c044a1002
1 changed files with 3 additions and 1 deletions
|
@ -88,8 +88,10 @@ chown -R $app:www-data "$final_path"
|
|||
ynh_script_progression --message="Upgrading dependencies..." --weight=1
|
||||
|
||||
if [ $nodejs_version != $(ynh_app_setting_get --app=$app --key=nodejs_version) ]; then
|
||||
# ynh_remove_nodejs will override the target nodejs_version
|
||||
new_nodejs_version=$nodejs_version
|
||||
ynh_remove_nodejs
|
||||
ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||
ynh_install_nodejs --nodejs_version=$new_nodejs_version
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue