Commit c8f5f53d authored by Natanael Copa's avatar Natanael Copa

setup-apkrepos: add commented edge/main and edge/testing for stable

parent 5d8cd099
...@@ -108,7 +108,11 @@ get_alpine_release() { ...@@ -108,7 +108,11 @@ get_alpine_release() {
add_mirror() { add_mirror() {
local mirror="$1" local mirror="$1"
echo "${mirror%/}/${release}/main" >> $APKREPOS_PATH echo "${mirror%/}/${release}/main" >> $APKREPOS_PATH
echo "#${mirror%/}/${release}/testing" >> $APKREPOS_PATH case "$release" in
v[0-9]*)
echo "#${mirror%/}/edge/main" >> $APKREPOS_PATH;;
esac
echo "#${mirror%/}/edge/testing" >> $APKREPOS_PATH
echo "" >> $APKREPOS_PATH echo "" >> $APKREPOS_PATH
echo "Added mirror $(get_hostname_from_url $mirror)" 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