mirror of
https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git
synced 2024-09-03 18:36:09 +02:00
Tweak install message wording
This commit is contained in:
parent
86d2f1faaa
commit
082175ca39
1 changed files with 3 additions and 8 deletions
|
@ -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\": .*</ul>" --replace_string="&<a href=../>Pads anonymes</a>" --target_file=$install_dir/node_modules/ep_mypads/static/l10n/fr.json
|
||||
|
|
Loading…
Add table
Reference in a new issue