From f3eeb9c97c0862bb35188d22479f556ab5845662 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 18 Jul 2021 10:59:13 +0200 Subject: [PATCH] Fix --- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/install | 4 ++-- scripts/remove | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index adeecda..f1a7807 100644 --- a/manifest.json +++ b/manifest.json @@ -12,7 +12,7 @@ "license": "Apache-2.0", "website": "https://etherpad.org/", "demo": "https://video.etherpad.com/", - "admindoc": "http://etherpad.org/doc/v1.8.13", + "admindoc": "http://etherpad.org/doc/v1.8.14", "userdoc": "https://yunohost.org/en/app_etherpad", "code": "https://github.com/ether/etherpad-lite" }, diff --git a/scripts/_common.sh b/scripts/_common.sh index 0cf001c..1112a35 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=15 +nodejs_version=14 # Dependencies for AbiWord abiword_app_depencencies="abiword" diff --git a/scripts/install b/scripts/install index 81413e7..799c735 100644 --- a/scripts/install +++ b/scripts/install @@ -128,7 +128,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Installing Etherpad..." --weight=60 -chown -R $app: $final_path +chown -R $app $final_path pushd $final_path || ynh_die ynh_use_nodejs @@ -161,7 +161,7 @@ ynh_store_file_checksum --file="$final_path/settings.json" ynh_add_config --template="../conf/credentials.json" --destination="$final_path/credentials.json" -chmod 600 $final_path/credentials.json +chmod 400 $final_path/credentials.json #================================================= # SETUP SYSTEMD diff --git a/scripts/remove b/scripts/remove index 155845b..986943c 100644 --- a/scripts/remove +++ b/scripts/remove @@ -18,9 +18,9 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) port=$(ynh_app_setting_get --app=$app --key=port) +final_path=$(ynh_app_setting_get --app=$app --key=final_path) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name -final_path=$(ynh_app_setting_get --app=$app --key=final_path) export=$(ynh_app_setting_get --app=$app --key=export) #=================================================