This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
armbian-config mirror selection -- region selection code patch #215
Open
Description
I found, that now the only proposed mirrir os "0 Automated".
I hope, region selection desined to like this....
--- old/debian-config-jobs.txt 2024-02-08 12:38:47.780000000 +0200
+++ new/debian-config-jobs.txt 2024-02-08 12:40:25.770000000 +0200
@@ -1670,7 +1670,7 @@
mirrors=( "${url}" )
# Mirrors for each region
- for region in $(wget -qO- "${url}/regions" | jq -r '.[]' | sort | grep -v default); do
+ for region in $(wget -qO- "${url}/mirrors" | jq -r 'keys' | jq -r '.[]' | sort | grep -v default); do
LIST+=( "${#mirrors[@]}" "Region ${region}" )
mirrors+=( "${url}/region/${region}/" )
done
(
Metadata
Metadata
Assignees
Labels
No labels