mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
Ports: Update the lint-ports.py script to ignore missing auth_type for SerenityOS repositories
This commit is contained in:
parent
12ed436562
commit
2d62cf8b79
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ def check_package_files(ports):
|
|||
data = fp.read()
|
||||
for p in properties:
|
||||
if not re.findall(f"^{p}=", data, re.M):
|
||||
if p == 'auth_type' and re.findall('^files="?https://github.com/SerenityOS/', data, re.M):
|
||||
continue
|
||||
print(f"Ports/{package} is missing '{p}'")
|
||||
all_good = False
|
||||
|
||||
|
|
Loading…
Reference in a new issue