Commit c23761a2 authored by Natanael Copa's avatar Natanael Copa

setup-apkrepos: avoid double // in url

parent fb96bf3b
......@@ -102,8 +102,8 @@ get_alpine_release() {
add_mirror() {
local mirror="$1"
echo "$mirror/$release/main" >> $APKREPOS_PATH
echo "#$mirror/$release/testing" >> $APKREPOS_PATH
echo "${mirror%/}/${release}/main" >> $APKREPOS_PATH
echo "#${mirror%/}/${release}/testing" >> $APKREPOS_PATH
echo "" >> $APKREPOS_PATH
echo "Added mirror $(get_hostname_from_url $mirror)"
}
......
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