From c8f5f53d2e9f578bc6abaf4d86f8b37eda9950d7 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 11 Jun 2013 10:53:33 +0000 Subject: setup-apkrepos: add commented edge/main and edge/testing for stable --- setup-apkrepos.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'setup-apkrepos.in') diff --git a/setup-apkrepos.in b/setup-apkrepos.in index da47f79..ab48471 100755 --- a/setup-apkrepos.in +++ b/setup-apkrepos.in @@ -108,7 +108,11 @@ get_alpine_release() { add_mirror() { local mirror="$1" 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 "Added mirror $(get_hostname_from_url $mirror)" } -- cgit v1.2.3