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 ## Unreleased
- Nothing for now... - 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 ## [1.0~ynh5](https://github.com/YunoHost-Apps/unattended_upgrades_ynh/pull/13) - 2019-04-24
#### Added #### 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/) * 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/) * 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 ## Limitations

View file

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

View file

@ -14,12 +14,12 @@ name = "Unattended-upgrades configuration"
default = "Security only" default = "Security only"
[main.unattended_configuration.ynh_update] [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" type = "boolean"
default = true default = true
[main.unattended_configuration.unattended_mail] [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"] choices = ["If an upgrade has been done", "Only if there was an error", "Never"]
default = "If an upgrade has been done" default = "If an upgrade has been done"
@ -28,23 +28,23 @@ name = "Unattended-upgrades configuration"
name = "apticron cron file" name = "apticron cron file"
[main.apticron_configuration.previous_apticron] [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" type = "boolean"
default = true default = true
[main.apticron_configuration.previous_apticron_hour] [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" type = "number"
default = "20" default = "20"
help = "Choose an hour between 12 and 23." help = "Choose an hour between 12 and 23."
[main.apticron_configuration.after_apticron] [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" type = "boolean"
default = true default = true
[main.apticron_configuration.after_apticron_hour] [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" type = "number"
default = "2" default = "2"
help = "Choose an hour between 0 and 10." help = "Choose an hour between 0 and 10."
@ -64,7 +64,7 @@ name = "Unattended-upgrades configuration"
name = "Overwriting config files" name = "Overwriting config files"
[main.overwrite_files.overwrite_periodic] [main.overwrite_files.overwrite_periodic]
ask = "Overwrite the config file 02periodic ?" ask = "Overwrite the config file 02periodic?"
type = "boolean" type = "boolean"
default = true default = true
help = "If the file is overwritten, a backup will be created." help = "If the file is overwritten, a backup will be created."
@ -74,7 +74,7 @@ name = "Unattended-upgrades configuration"
name = "Global configuration" name = "Global configuration"
[main.global_config.email_type] [main.global_config.email_type]
ask = "Send HTML email to admin ?" ask = "Send HTML email to admin?"
type = "boolean" type = "boolean"
default = true default = true
help = "Allow app scripts to send HTML mails instead of plain text." help = "Allow app scripts to send HTML mails instead of plain text."