mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Don't add yarn repository when requested in app manifest
This commit is contained in:
parent
a5049a8a13
commit
713ad63452
1 changed files with 4 additions and 0 deletions
|
@ -1231,6 +1231,10 @@ class AptDependenciesAppResource(AppResource):
|
||||||
if self.packages:
|
if self.packages:
|
||||||
script += " ".join([ynh_apt_install_dependencies, *self.packages])
|
script += " ".join([ynh_apt_install_dependencies, *self.packages])
|
||||||
for repo, values in self.extras.items():
|
for repo, values in self.extras.items():
|
||||||
|
# SPECIAL CASE: yarn is already preconfigured -> skip it
|
||||||
|
if "dl.yarnpkg.com/debian" in values["repo"]:
|
||||||
|
continue
|
||||||
|
|
||||||
script += "\n" + " ".join(
|
script += "\n" + " ".join(
|
||||||
[
|
[
|
||||||
ynh_apt_install_dependencies_from_extra_repository,
|
ynh_apt_install_dependencies_from_extra_repository,
|
||||||
|
|
Loading…
Add table
Reference in a new issue