mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
YNH_APP_PURGE to be 1 or 0 to be consistent with other bash bools
This commit is contained in:
parent
dc8c16c96d
commit
ad3602a24f
1 changed files with 1 additions and 1 deletions
|
@ -1160,7 +1160,7 @@ def app_remove(operation_logger, app, purge=False):
|
|||
env_dict["YNH_APP_INSTANCE_NAME"] = app
|
||||
env_dict["YNH_APP_INSTANCE_NUMBER"] = str(app_instance_nb)
|
||||
env_dict["YNH_APP_MANIFEST_VERSION"] = manifest.get("version", "?")
|
||||
env_dict["YNH_APP_PURGE"] = str(purge)
|
||||
env_dict["YNH_APP_PURGE"] = str(1 if purge else 0)
|
||||
env_dict["YNH_APP_BASEDIR"] = tmp_workdir_for_app
|
||||
|
||||
operation_logger.extra.update({"env": env_dict})
|
||||
|
|
Loading…
Add table
Reference in a new issue