Commit e8a3cc82 authored by Mislav Marohnić's avatar Mislav Marohnić
Browse files

Avoid processing duplicate URLs in mirror script

parent 64726421
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ potentially_new_packages() {
}

extract_urls() {
  grep -hoe 'http[^"]\+#[^"]\+' "$@"
  grep -hoe 'http[^"]\+#[^"]\+' "$@" | sort | uniq
}

update() {