mirror of
https://github.com/YunoHost-Apps/n8n_ynh.git
synced 2024-09-03 19:55:52 +02:00
Fix
This commit is contained in:
parent
094ac39efe
commit
cd1d207c54
2 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue