1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/n8n_ynh.git synced 2024-09-03 19:55:52 +02:00
This commit is contained in:
ericgaspar 2021-09-18 16:11:02 +02:00
parent 094ac39efe
commit cd1d207c54
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 3 deletions

View file

@ -94,7 +94,6 @@ ynh_script_progression --message="Setting up source files..." --weight=1
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src
#ynh_setup_source --dest_dir=$final_path
mkdir -p $final_path
#=================================================
@ -105,7 +104,7 @@ ynh_script_progression --message="Installing $app..." --weight=2
pushd $final_path
ynh_use_nodejs
#ynh_exec_as $app
env $ynh_node_load_PATH npm install n8n@$n8n_version -g
env $ynh_node_load_PATH npm install n8n@${n8n_version} -g
popd
chmod 750 "$final_path"

View file

@ -70,7 +70,7 @@ then
# Download, check integrity, uncompress and patch the source from app.src
pushd $final_path
ynh_use_nodejs
ynh_exec_as $app env $ynh_node_load_PATH npm install n8n@$n8n_version
ynh_exec_as $app env $ynh_node_load_PATH npm install n8n@${n8n_version}
popd
fi