From 1e52e310013f0f19f683719edbbeb14674631875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sat, 3 Jun 2023 21:33:18 +0200 Subject: [PATCH] fix --- manifest.toml | 2 +- scripts/_common.sh | 4 ++-- scripts/install | 5 ++--- scripts/upgrade | 3 +-- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/manifest.toml b/manifest.toml index 86c33e2..c8779b7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -16,7 +16,7 @@ admindoc = "https://docs.n8n.io/" code = "https://github.com/n8n-io/n8n" [integration] -yunohost = ">= 11.1.15" +yunohost = ">= 11.1.19" architectures = "all" multi_instance = false ldap = false diff --git a/scripts/_common.sh b/scripts/_common.sh index bf17f53..c2d2d33 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,9 +4,9 @@ # COMMON VARIABLES #================================================= -nodejs_version=16 +nodejs_version=18 -n8n_version=0.221.2 +n8n_version=0.228.2 #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 2225d1d..26eb3eb 100755 --- a/scripts/install +++ b/scripts/install @@ -27,10 +27,10 @@ ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= -ynh_script_progression --message="Setting up source files..." --weight=1 +#ynh_script_progression --message="Setting up source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src -mkdir -p $install_dir +#mkdir -p $install_dir #================================================= # INSTALL n8n @@ -42,7 +42,6 @@ pushd $install_dir ynh_exec_warn_less env $ynh_node_load_PATH npm install n8n@${n8n_version} popd -chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index e256135..4ef0c13 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -61,7 +61,6 @@ then popd fi -chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" @@ -76,7 +75,7 @@ ynh_add_nginx_config #================================================= # INSTALL DEPENDENCIES #================================================= -#REMOVEME? ynh_script_progression --message="Installing dependencies..." --weight=12 +ynh_script_progression --message="Installing dependencies..." --weight=12 ynh_install_nodejs --nodejs_version=$nodejs_version