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 #=================================================