mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
So the reason the 'enable pop3' thing is not working properly is because the config panel was spitting inconsistent boolean shit like 1, True or 'yes' depending on whatever...
This commit is contained in:
parent
5975dd4310
commit
1cbc30e0d5
1 changed files with 2 additions and 1 deletions
|
@ -372,7 +372,8 @@ def reconfigure_dovecot(setting_name, old_value, new_value):
|
|||
environment = os.environ.copy()
|
||||
environment.update({"DEBIAN_FRONTEND": "noninteractive"})
|
||||
|
||||
if new_value is True:
|
||||
# Depending on how consistent the config panel is, it may spit 1 or True or ..? ...
|
||||
if new_value:
|
||||
command = [
|
||||
"apt-get",
|
||||
"-y",
|
||||
|
|
Loading…
Add table
Reference in a new issue