mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
apps: in apt resource, fix empty string in packages_from_raw_bash breaking dpkg-build
This commit is contained in:
parent
eb14e404d6
commit
a76cd05e87
1 changed files with 1 additions and 1 deletions
|
@ -1197,7 +1197,7 @@ class AptDependenciesAppResource(AppResource):
|
|||
f"Error while running apt resource packages_from_raw_bash snippet for '{key}' extras:"
|
||||
)
|
||||
logger.error(err)
|
||||
values["packages"] = values.get("packages", []) + [value.strip() for value in out.split("\n")] # type: ignore
|
||||
values["packages"] = values.get("packages", []) + [value.strip() for value in out.split("\n") if value.strip()] # type: ignore
|
||||
|
||||
if (
|
||||
not isinstance(values.get("repo"), str)
|
||||
|
|
Loading…
Add table
Reference in a new issue