From 8828898e4b97d95780cadd4aab98b6cbdd8c79ff Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 24 Apr 2021 19:38:38 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 74e6435..ad8b48b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,10 +118,12 @@ ynh_add_config --template="../conf/config.js" --destination="$final_path/config/ #================================================= ynh_script_progression --message="Building CryptPad... (this will take some time and resources!)" --weight=60 -pushd "$final_path" || ynh_die +pushd "$final_path" + ynh_exec_warn_less npm install --allow-root + ynh_exec_warn_less npm install -g bower ynh_exec_warn_less bower update --allow-root ynh_exec_warn_less npm i -popd || ynh_die +popd #================================================= # SETUP SYSTEMD