mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Fix tip for extra app dependencies installation
This commit is contained in:
parent
a6d411c38d
commit
bff00f6b0d
1 changed files with 2 additions and 3 deletions
|
@ -878,9 +878,8 @@ class Script():
|
||||||
or (os.path.exists(self.app_path + "/scripts/_common.sh") and "/etc/apt/sources.list" in open(self.app_path+"/scripts/_common.sh").read() and "ynh_add_repo" not in open(self.app_path+"/scripts/_common.sh").read()):
|
or (os.path.exists(self.app_path + "/scripts/_common.sh") and "/etc/apt/sources.list" in open(self.app_path+"/scripts/_common.sh").read() and "ynh_add_repo" not in open(self.app_path+"/scripts/_common.sh").read()):
|
||||||
print_error(
|
print_error(
|
||||||
"[YEP-3.7] Manually messing with apt's sources.lists is strongly discouraged "
|
"[YEP-3.7] Manually messing with apt's sources.lists is strongly discouraged "
|
||||||
"and should be avoided. Please consider alternatives like using a .deb directly "
|
"and should be avoided. Please use ynh_install_extra_app_dependencies is you "
|
||||||
"or using experimental helpers (c.f. "
|
"need to install dependencies from a custom apt repo."
|
||||||
"https://github.com/YunoHost-Apps/Experimental_helpers/tree/master/ynh_add_extra_apt_repos )"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.name == "backup":
|
if self.name == "backup":
|
||||||
|
|
Loading…
Reference in a new issue