From 082175ca3925753544366988ad1f42aa006ced68 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 20 Mar 2023 17:26:45 +0100 Subject: [PATCH] Tweak install message wording --- scripts/install | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index fb5ea8e..9004835 100644 --- a/scripts/install +++ b/scripts/install @@ -19,11 +19,6 @@ source /usr/share/yunohost/helpers password="$YNH_APP_ARG_PASSWORD" -#================================================= -# STORE SETTINGS FROM MANIFEST -#================================================= -ynh_script_progression --message="Storing installation settings..." --weight=3 - ynh_app_setting_set --app=$app --key=overwrite_settings --value="1" ynh_app_setting_set --app=$app --key=overwrite_credentials --value="1" ynh_app_setting_set --app=$app --key=overwrite_nginx --value="1" @@ -32,7 +27,7 @@ ynh_app_setting_set --app=$app --key=overwrite_systemd --value="1" #================================================= # INSTALL DEPENDENCIES #================================================= -ynh_script_progression --message="Installing dependencies..." --weight=120 +ynh_script_progression --message="Installing nodejs..." --weight=50 ynh_install_nodejs --nodejs_version=$nodejs_version ynh_use_nodejs @@ -40,7 +35,7 @@ ynh_use_nodejs #================================================= # CREATE A MYSQL DATABASE #================================================= -ynh_script_progression --message="Creating a MySQL database..." --weight=1 +ynh_script_progression --message="Initializing MySQL database..." --weight=1 echo "ALTER DATABASE $db_name CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci" | ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name @@ -174,7 +169,7 @@ popd if [ $mypads -eq 1 ] then - ynh_script_progression --message="Some hacks..." --weight=1 + ynh_script_progression --message="Tweaking mypad configuration..." --weight=1 # Add a link to Etherpad to allow anonymous pads creation from MyPads. ynh_replace_string --match_string="^ *\"DESCRIPTION\": .*" --replace_string="&Pads anonymes" --target_file=$install_dir/node_modules/ep_mypads/static/l10n/fr.json