diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-11 10:53:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-11 11:02:19 +0000 |
commit | c8f5f53d2e9f578bc6abaf4d86f8b37eda9950d7 (patch) | |
tree | 370fdaa10de896311333bb39f53c93801ae2687a /setup-apkrepos.in | |
parent | 5d8cd099b90661aadd038a1699fb5499a3dd53c0 (diff) | |
download | alpine-conf-c8f5f53d2e9f578bc6abaf4d86f8b37eda9950d7.zip |
setup-apkrepos: add commented edge/main and edge/testing for stable
Diffstat (limited to 'setup-apkrepos.in')
-rwxr-xr-x | setup-apkrepos.in | 6 |
1 files changed, 5 insertions, 1 deletions
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)" } |