mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Report usage of extra repo / messing up with sources.list as error
This commit is contained in:
parent
c1f328894e
commit
729e95fec2
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ class Script():
|
|||
if self.name == "install":
|
||||
if self.contains("/etc/apt/sources.list") \
|
||||
or (os.path.exists(self.app_path + "/scripts/_common.sh") and "/etc/apt/sources.list" in open(self.app_path+"/scripts/_common.sh").read()):
|
||||
print_warning(
|
||||
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. "
|
||||
|
|
Loading…
Reference in a new issue