[modules/pacman] Update url filtering

Arch mirrors can also have rsync protocol
This commit is contained in:
Yashar Shahi 2017-03-10 21:18:34 +03:30
parent 4a5668654f
commit c203cd6173

View file

@ -27,7 +27,7 @@ def get_pacman_info(widget, path):
count = len(repos)*[0]
for line in result.splitlines():
if line.startswith("http"):
if line.startswith(("http", "rsync")):
for i in range(len(repos)-1):
if "/" + repos[i] + "/" in line:
count[i] += 1