summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-08-02 20:14:59 +0200
committerErich Eckner <git@eckner.net>2020-08-02 20:14:59 +0200
commit6ca50d6618fab3f34a05522cf6c3f9eb735199b4 (patch)
treed5cb42621576700e9af7abe809b28d0174f8fb1b
parent6c23b6f216c72cef2931c8b6649f594e43fcda80 (diff)
downloadarch-mirror-6ca50d6618fab3f34a05522cf6c3f9eb735199b4.tar.xz
arch-mirror: make repository-finder more strict
-rwxr-xr-xarch-mirror2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch-mirror b/arch-mirror
index 6be547b..0be25a7 100755
--- a/arch-mirror
+++ b/arch-mirror
@@ -383,6 +383,8 @@ find "${mirror_dir}/" \
\( -name '*.files.tar.?z' -o -name '*.db.tar.?z' \) -printf '%p\n' \
| sed '
s@\.\(files\|db\)\.tar\.[xg]z$@@
+ t
+ d
' \
| sort -u \
| sed '