From 460ff6eb709ea20ca06391fd16b449782427002a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 4 Jun 2022 08:59:50 +0200 Subject: [PATCH] Reinstalling dependencies --- scripts/restore | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/restore b/scripts/restore index cd6779b..27442a9 100644 --- a/scripts/restore +++ b/scripts/restore @@ -67,6 +67,15 @@ 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=10 + +ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies +ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version +ynh_exec_warn_less ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" --package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg" + #================================================= # GENERIC FINALIZATION #=================================================