From 4509bde31350a82b7cfd844c586b20d553f19c57 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 24 Apr 2021 00:00:14 +0200 Subject: [PATCH] fix --- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/upgrade | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index c532a0c..872cf2e 100644 --- a/manifest.json +++ b/manifest.json @@ -13,7 +13,7 @@ "name": "eric_G" }, "requirements": { - "yunohost": ">= 4.1.7" + "yunohost": ">= 4.2.0" }, "multi_instance": true, "services": [ diff --git a/scripts/_common.sh b/scripts/_common.sh index 2eab5a8..7e4dd21 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,7 +7,7 @@ # dependencies used by the app pkg_dependencies="postgresql postgresql-contrib" -nodejs_version=14 +nodejs_version=15 #================================================= # PERSONAL HELPERS diff --git a/scripts/upgrade b/scripts/upgrade index ee6b278..adf6c51 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -127,7 +127,6 @@ ynh_install_nodejs --nodejs_version=$nodejs_version ynh_script_progression --message="Reconfiguring Etherpad..." --weight=6 ynh_add_config --template="../conf/settings.json" --destination="$final_path/settings.json" - ynh_add_config --template="../conf/credentials.json" --destination="$final_path/credentials.json" #================================================= @@ -161,7 +160,7 @@ chmod 600 $final_path/credentials.json ynh_script_progression --message="Upgrading systemd configuration..." --weight=2 # Create a dedicated systemd config -ynh_add_systemd_config --others_var="ynh_node_load_PATH" +ynh_add_systemd_config #================================================= # INTEGRATE SERVICE IN YUNOHOST