From e7e5d49b16c5d7ca8dbae2c67ec89125faed1b0c Mon Sep 17 00:00:00 2001
From: ericgaspar <junk.eg@free.fr>
Date: Tue, 3 Nov 2020 19:23:12 +0100
Subject: [PATCH] Fix

---
 scripts/install | 10 +++++-----
 scripts/restore |  2 +-
 scripts/upgrade | 10 +++++-----
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/scripts/install b/scripts/install
index 7060b2f..ee10f7e 100644
--- a/scripts/install
+++ b/scripts/install
@@ -134,14 +134,14 @@ ynh_script_progression --message="Configuring Etherpad..." --weight=6
 
 cp ../conf/settings.json $final_path/settings.json
 
-ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/settings.json"
+ynh_replace_string --match_string="__PORT__"     --replace_string="$port"     --target_file="$final_path/settings.json"
 ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/settings.json"
 
 cp ../conf/credentials.json $final_path/credentials.json
 
-ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/credentials.json"
-ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file="$final_path/credentials.json"
-ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="$final_path/credentials.json"
+ynh_replace_string --match_string="__DB_NAME__"  --replace_string="$db_name"  --target_file="$final_path/credentials.json"
+ynh_replace_string --match_string="__DB_PWD__"   --replace_string="$db_pwd"   --target_file="$final_path/credentials.json"
+ynh_replace_string --match_string="__ADMIN__"    --replace_string="$admin"    --target_file="$final_path/credentials.json"
 ynh_replace_string --match_string="__PASSWORD__" --replace_string="$password" --target_file="$final_path/credentials.json"
 
 #=================================================
@@ -175,7 +175,7 @@ ynh_add_systemd_config --others_var="ynh_node_load_PATH"
 #=================================================
 ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
 
-yunohost service add $app --description "Etherpad-lite, the collaborative editor." --log "/var/log/$app/$app.log"
+yunohost service add $app --description "Collaborative editor." --log "/var/log/$app/$app.log"
 
 #=================================================
 # START SYSTEMD SERVICE
diff --git a/scripts/restore b/scripts/restore
index 13d5d92..930ee84 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -104,7 +104,7 @@ systemctl enable $app.service
 #=================================================
 ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
 
-yunohost service add $app --description "Etherpad-lite, the collaborative editor." --log "/var/log/$app/$app.log"
+yunohost service add $app --description "Collaborative editor." --log "/var/log/$app/$app.log"
 
 #=================================================
 # START SYSTEMD SERVICE
diff --git a/scripts/upgrade b/scripts/upgrade
index 3680407..3b6c09c 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -129,14 +129,14 @@ ynh_script_progression --message="Reconfiguring Etherpad..." --weight=6
 
 cp ../conf/settings.json $final_path/settings.json
 
-ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/settings.json"
+ynh_replace_string --match_string="__PORT__"     --replace_string="$port"     --target_file="$final_path/settings.json"
 ynh_replace_string --match_string="__LANGUAGE__" --replace_string="$language" --target_file="$final_path/settings.json"
 
 cp ../conf/credentials.json $final_path/credentials.json
 
-ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/credentials.json"
-ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file="$final_path/credentials.json"
-ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="$final_path/credentials.json"
+ynh_replace_string --match_string="__DB_NAME__"  --replace_string="$db_name"  --target_file="$final_path/credentials.json"
+ynh_replace_string --match_string="__DB_PWD__"   --replace_string="$db_pwd"   --target_file="$final_path/credentials.json"
+ynh_replace_string --match_string="__ADMIN__"    --replace_string="$admin"    --target_file="$final_path/credentials.json"
 ynh_replace_string --match_string="__PASSWORD__" --replace_string="$password" --target_file="$final_path/credentials.json"
 
 #=================================================
@@ -162,7 +162,7 @@ ynh_add_systemd_config --others_var="ynh_node_load_PATH"
 #=================================================
 ynh_script_progression --message="Integrating service in YunoHost..." --weight=2
 
-yunohost service add $app --description "Etherpad-lite, the collaborative editor." --log "/var/log/$app/$app.log"
+yunohost service add $app --description "Collaborative editor." --log "/var/log/$app/$app.log"
 
 #=================================================
 # START SYSTEMD SERVICE