From 7bc040b6ef39d1d0281ee1028039edeb3d8d4b68 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 28 Jan 2022 18:15:53 +0100 Subject: [PATCH] Update restore --- scripts/restore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/restore b/scripts/restore index 3ff1d14..7d20341 100755 --- a/scripts/restore +++ b/scripts/restore @@ -67,6 +67,14 @@ chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" +#================================================= +# REINSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Reinstalling dependencies..." --weight=6 + +# Install Nodejs +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version + #================================================= # RESTORE SYSTEMD #=================================================