[modules/pacman] Update url filtering
Arch mirrors can also have rsync protocol
This commit is contained in:
parent
4a5668654f
commit
c203cd6173
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue