From 97ca5205579b736ebbd8bd5fc88faeb8e1b47680 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 18 Jul 2021 14:09:08 +0200 Subject: [PATCH] Fix --- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/install | 1 - scripts/restore | 2 +- scripts/upgrade | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/manifest.json b/manifest.json index 0bb24a8..3186a74 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Online editor providing collaborative editing in real-time.", "fr": "Éditeur en ligne fournissant l'édition collaborative en temps réel." }, - "version": "1.8.13~ynh1", + "version": "1.8.14~ynh1", "url": "https://etherpad.org/", "upstream": { "license": "Apache-2.0", diff --git a/scripts/_common.sh b/scripts/_common.sh index 320cbb8..0b1be23 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="postgresql postgresql-contrib apt-transport-https" +pkg_dependencies="postgresql postgresql-contrib" nodejs_version=14 diff --git a/scripts/install b/scripts/install index 39d852f..891f7ea 100644 --- a/scripts/install +++ b/scripts/install @@ -135,7 +135,6 @@ ynh_script_progression --message="Configuring 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" - chmod 400 $final_path/credentials.json #================================================= diff --git a/scripts/restore b/scripts/restore index e6b9555..d009a05 100644 --- a/scripts/restore +++ b/scripts/restore @@ -69,7 +69,7 @@ ynh_restore_file --origin_path="$final_path" chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chmod 600 $final_path/credentials.json +chmod 400 "$final_path/credentials.json" #================================================= # REINSTALL DEPENDENCIES diff --git a/scripts/upgrade b/scripts/upgrade index 645d170..8501e9c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -128,7 +128,7 @@ fi chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" -chmod 600 $final_path/credentials.json +chmod 400 $final_path/credentials.json #================================================= # SETUP SYSTEMD