diff --git a/scripts/install b/scripts/install index 1079621..8e2b2e0 100755 --- a/scripts/install +++ b/scripts/install @@ -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" diff --git a/scripts/upgrade b/scripts/upgrade index b210d57..33dcfd1 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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