diff --git a/scripts/restore b/scripts/restore index 56fe274..14afa3c 100755 --- a/scripts/restore +++ b/scripts/restore @@ -10,6 +10,17 @@ source ../settings/scripts/_common.sh source /usr/share/yunohost/helpers +#================================================= +# SPECIFIC RESTORATION +#================================================= +# REINSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Reinstalling dependencies..." --weight=1 + +# Install Nodejs +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version +ynh_use_nodejs + #================================================= # RESTORE THE APP MAIN DIR #=================================================