From 404a14ef5ade8ea13652d6471ef2736c27ea428a Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 22 Jan 2021 18:47:28 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 83f3600..ed3114b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,10 +84,6 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" - - # pushd $final_path - # bower update --allow-root - # popd fi #================================================= @@ -139,11 +135,7 @@ ynh_store_file_checksum "$final_path/config/config.js" ynh_script_progression --message="Building CryptPad... (this will take some time and resources!)" --weight=60 pushd "$final_path" || ynh_die - ynh_use_nodejs - ynh_exec_warn_less yarn install --allow-root - yarn global add bower - bower cache clean - bower install --allow-root + bower update --allow-root popd || ynh_die #=================================================