Small fixes

This commit is contained in:
ericgaspar 2021-01-18 21:29:58 +01:00
parent e7f81d71fe
commit c55529bc58
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 16 additions and 11 deletions

View file

@ -4,6 +4,12 @@ Changelog
## Unreleased
- Nothing for now...
## [1.0~ynh6]() - 2020-01-18
#### Fixed
* [Linter warnings](https://github.com/YunoHost-Apps/unattended_upgrades_ynh/pull/14)
## [1.0~ynh5](https://github.com/YunoHost-Apps/unattended_upgrades_ynh/pull/13) - 2019-04-24
#### Added

View file

@ -45,7 +45,6 @@ With its cron file
* x86-64b - [![](https://ci-apps.yunohost.org/ci/logs/unattended_upgrades%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/unattended_upgrades/)
* ARMv8-A - [![](https://ci-apps-arm.yunohost.org/ci/logs/unattended_upgrades%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/unattended_upgrades/)
* Buster x86-64b - [![](https://ci-buster.nohost.me/ci/logs/unattended_upgrades%20%28Apps%29.svg)](https://ci-buster.nohost.me/ci/apps/unattended_upgrades/)
## Limitations

View file

@ -52,8 +52,8 @@ Avec son cron
## Liens
* Reporter un bug: https://github.com/YunoHost-Apps/unattended_upgrades_ynh/issues
* Site de YunoHost: https://yunohost.org/
* Reporter un bug : https://github.com/YunoHost-Apps/unattended_upgrades_ynh/issues
* Site de YunoHost : https://yunohost.org/
---

View file

@ -14,12 +14,12 @@ name = "Unattended-upgrades configuration"
default = "Security only"
[main.unattended_configuration.ynh_update]
ask = "Would you like to update YunoHost packages automatically ?"
ask = "Would you like to update YunoHost packages automatically?"
type = "boolean"
default = true
[main.unattended_configuration.unattended_mail]
ask = "Would you like to receive an email from Unattended-Upgrades ?"
ask = "Would you like to receive an email from Unattended-Upgrades?"
choices = ["If an upgrade has been done", "Only if there was an error", "Never"]
default = "If an upgrade has been done"
@ -28,23 +28,23 @@ name = "Unattended-upgrades configuration"
name = "apticron cron file"
[main.apticron_configuration.previous_apticron]
ask = "Would you like to receive an email to inform which upgrades need to be done ?"
ask = "Would you like to receive an email to inform which upgrades need to be done?"
type = "boolean"
default = true
[main.apticron_configuration.previous_apticron_hour]
ask = "When do you want to receive this email ?"
ask = "When do you want to receive this email?"
type = "number"
default = "20"
help = "Choose an hour between 12 and 23."
[main.apticron_configuration.after_apticron]
ask = "Would you like to receive an email to verify if there any upgrades left after each auto upgrade ?"
ask = "Would you like to receive an email to verify if there any upgrades left after each auto upgrade?"
type = "boolean"
default = true
[main.apticron_configuration.after_apticron_hour]
ask = "When do you want to receive this email ?"
ask = "When do you want to receive this email?"
type = "number"
default = "2"
help = "Choose an hour between 0 and 10."
@ -64,7 +64,7 @@ name = "Unattended-upgrades configuration"
name = "Overwriting config files"
[main.overwrite_files.overwrite_periodic]
ask = "Overwrite the config file 02periodic ?"
ask = "Overwrite the config file 02periodic?"
type = "boolean"
default = true
help = "If the file is overwritten, a backup will be created."
@ -74,7 +74,7 @@ name = "Unattended-upgrades configuration"
name = "Global configuration"
[main.global_config.email_type]
ask = "Send HTML email to admin ?"
ask = "Send HTML email to admin?"
type = "boolean"
default = true
help = "Allow app scripts to send HTML mails instead of plain text."