mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
apps: when creating the app's bash env for script, make sure to use the manifest from the workdir instead of app setting dir, which is important for consistency during edge case when upgrade from v1 to v2 fails
This commit is contained in:
parent
79c9a7b294
commit
bab27014d9
1 changed files with 2 additions and 1 deletions
|
@ -2845,7 +2845,8 @@ def _make_environment_for_app_script(
|
|||
):
|
||||
app_setting_path = os.path.join(APPS_SETTING_PATH, app)
|
||||
|
||||
manifest = _get_manifest_of_app(app_setting_path)
|
||||
manifest = _get_manifest_of_app(workdir if workdir else app_setting_path)
|
||||
|
||||
app_id, app_instance_nb = _parse_app_instance_name(app)
|
||||
|
||||
env_dict = {
|
||||
|
|
Loading…
Add table
Reference in a new issue