English translation and typo

This commit is contained in:
Maniack Crudelis 2019-01-18 23:55:22 +01:00
parent 2093bcf70e
commit a5deeecff9
4 changed files with 9 additions and 8 deletions

View file

@ -84,7 +84,7 @@ then
ynh_replace_string "//\(Unattended-Upgrade::MailOnlyOnError \).*" "\1\"true\";" "$config_file"
else # "Never"
# Comment "Unattended-Upgrade::Mail" if isn't already commented
# Comment "Unattended-Upgrade::Mail" if it isn't already commented
ynh_replace_string "^\(Unattended-Upgrade::Mail \)" "//\1" "$config_file"
fi
fi

View file

@ -29,7 +29,7 @@ app=$YNH_APP_INSTANCE_NAME
#=================================================
ynh_backup "/etc/apt/apt.conf.d/50unattended-upgrades"
# backup also the backup config file
# Backup also the backup of the config file
ynh_backup "/etc/apt/50unattended-upgrades.backup"
#=================================================
@ -45,7 +45,7 @@ ynh_backup "/etc/apt/apt.conf.d/02periodic"
ynh_backup "/etc/apticron/apticron.conf"
#=================================================
# BACKUP OF THE CRON FILE
# BACKUP THE CRON FILE
#=================================================
ynh_backup "/etc/cron.d/apticron"

View file

@ -15,7 +15,8 @@ source _variables
# MANAGE FAILURE OF THE SCRIPT
#=================================================
ynh_abort_if_errors # Active trap pour arrêter le script si une erreur est détectée.
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================
# RETRIEVE ARGUMENTS FROM THE MANIFEST
@ -107,7 +108,7 @@ then
ynh_replace_string "//\(Unattended-Upgrade::MailOnlyOnError \).*" "\1\"true\";" "$unattended_upgrades_config"
else # "Never"
# Comment "Unattended-Upgrade::Mail" if isn't already commented
# Comment "Unattended-Upgrade::Mail" if it isn't already commented
ynh_replace_string "^\(Unattended-Upgrade::Mail \)" "//\1" "$unattended_upgrades_config"
fi
@ -158,6 +159,6 @@ Unattended-upgrades will be executed every day at midnight.
To modify the configuration of apticron, please have a look to $apticron_config.
Apticron will be executed, depending of the requested configuration at 8 p.m. and 2 a.m. If you want to change this schedule, please have a look to the cron file $apticron_cron.
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/unattended_upgrades_ynh"
If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/unattended_upgrades_ynh"
ynh_send_readme_to_admin --app_message="$message" --recipients="root"

View file

@ -53,7 +53,7 @@ ynh_restore_file "/etc/apt/apt.conf.d/02periodic"
ynh_restore_file "/etc/apticron/apticron.conf"
#=================================================
# RESTORE THE CRON FILE
# RESTORE CRON FILE
#=================================================
ynh_restore_file "/etc/cron.d/apticron"
@ -71,6 +71,6 @@ Unattended-upgrades will be executed every day at midnight.
To modify the configuration of apticron, please have a look to /etc/apticron/apticron.conf.
Apticron will be executed, depending of the requested configuration at 8 p.m. and 2 a.m. If you want to change this schedule, please have a look to the cron file /etc/cron.d/apticron.
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/unattended_upgrades_ynh"
If you're facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/unattended_upgrades_ynh"
ynh_send_readme_to_admin --app_message="$message" --recipients="root"