mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Avoid to override new settings
This commit is contained in:
parent
c9d570e6a1
commit
006318effa
1 changed files with 4 additions and 1 deletions
|
@ -1996,7 +1996,10 @@ ynh_app_config_run $1
|
|||
}
|
||||
)
|
||||
app_script_env = _make_environment_for_app_script(app)
|
||||
env.update(app_script_env)
|
||||
# Note that we only need to update settings wich are not already set
|
||||
# The settings from config panel should be keep as it is
|
||||
app_script_env.update(env)
|
||||
env = app_script_env
|
||||
|
||||
ret, values = hook_exec(config_script, args=[action], env=env)
|
||||
if ret != 0:
|
||||
|
|
Loading…
Add table
Reference in a new issue