Commit e8a3cc82 by Mislav Marohnić

Avoid processing duplicate URLs in mirror script

parent 64726421
......@@ -43,7 +43,7 @@ potentially_new_packages() {
}
extract_urls() {
grep -hoe 'http[^"]\+#[^"]\+' "$@"
grep -hoe 'http[^"]\+#[^"]\+' "$@" | sort | uniq
}
update() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment