From bff00f6b0d9eb3a104d194b0643498790a54e424 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 27 May 2020 12:54:18 +0200 Subject: [PATCH] Fix tip for extra app dependencies installation --- package_linter.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package_linter.py b/package_linter.py index 9d3ae8d..4973e4b 100755 --- a/package_linter.py +++ b/package_linter.py @@ -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()): print_error( "[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 " - "or using experimental helpers (c.f. " - "https://github.com/YunoHost-Apps/Experimental_helpers/tree/master/ynh_add_extra_apt_repos )" + "and should be avoided. Please use ynh_install_extra_app_dependencies is you " + "need to install dependencies from a custom apt repo." ) if self.name == "backup":