aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--setup-apkrepos.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-apkrepos.in b/setup-apkrepos.in
index 1956b19..1bbccca 100644
--- a/setup-apkrepos.in
+++ b/setup-apkrepos.in
@@ -48,7 +48,7 @@ find_fastest_mirror() {
local url=
for url in $MIRRORS; do
local time=$(time_cmd apk update --quiet $apk_root_opt \
- --repository $url/edge/main \
+ --repository ${url%/}/edge/main \
--repositories-file /dev/null)
if [ -n "$time" ]; then
echo "$time $url"