mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Revert packages_from_raw_bash test
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
a69b80972e
commit
dc362dd636
1 changed files with 1 additions and 4 deletions
|
@ -1117,10 +1117,7 @@ class AptDependenciesAppResource(AppResource):
|
||||||
if (
|
if (
|
||||||
not isinstance(values.get("repo"), str)
|
not isinstance(values.get("repo"), str)
|
||||||
or not isinstance(values.get("key"), str)
|
or not isinstance(values.get("key"), str)
|
||||||
or (
|
or not isinstance(values.get("packages"), list)
|
||||||
not isinstance(values.get("packages"), list)
|
|
||||||
and not isinstance(values.get("packages_from_raw_bash"), str)
|
|
||||||
)
|
|
||||||
):
|
):
|
||||||
raise YunohostError(
|
raise YunohostError(
|
||||||
"In apt resource in the manifest: 'extras' repo should have the keys 'repo', 'key' defined as strings, 'packages' defined as list or 'packages_from_raw_bash' defined as string",
|
"In apt resource in the manifest: 'extras' repo should have the keys 'repo', 'key' defined as strings, 'packages' defined as list or 'packages_from_raw_bash' defined as string",
|
||||||
|
|
Loading…
Add table
Reference in a new issue