diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-03-01 14:40:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-03-01 14:40:46 +0000 |
commit | 90005ef714f7b8f8b186eef794b2d6b8bb6a8d09 (patch) | |
tree | 15a2d5d1157a10cb753947bc1b7f0eb3ebbe5713 | |
parent | 8201bedeef8250452bdcdf5db0699c12b7ff7066 (diff) | |
download | alpine-conf-90005ef714f7b8f8b186eef794b2d6b8bb6a8d09.zip |
main/setup-apkrepos: use edge repo for *_alpha* releases
-rwxr-xr-x | setup-apkrepos.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-apkrepos.in b/setup-apkrepos.in index df97bc5..5bf5217 100755 --- a/setup-apkrepos.in +++ b/setup-apkrepos.in @@ -95,7 +95,7 @@ add_from_list() { get_alpine_release() { local version=$(cat /etc/alpine-release 2>/dev/null) case "$version" in - *_git*) release="edge";; + *_git*|*_alpha*) release="edge";; [0-9]*.[0-9]*.[0-9]*) # release in x.y.z format, cut last digit release=v${version%.[0-9]*};; |