On Mon, 27 Dec 2010 18:10:52 -0500
Jeff Bilyk <jbilyk_at_gmail.com> wrote:
> Hey Natanael,
> Thoughts on this patch?
sorry for beeing slow :-(
1. we should autodetect if its v2.2+ or edge. I don't think we need to
backport to pre v2.2. Also, we do not want modify this script everytiem
we make new release.
So what do you think about something like:
release=$(cut -f1 /etc/alpine-release)
case "$release" in
# release is in x.y.z format. lets cut the last
if [ -z "$repo" ]; then
2. we should append the arch (right Timo?)
case "$(uname -m)" in
3. we should not have any hardcoded repo (dl-3.a.o) but we should fetch
a list of mirrors with wget and either present a choice for the users
or just pick one without any questions asked. I'd prefer the latter.
mirror=$(wget -q -O - \
| head -n 1)
That said, we gotta start from somewhere so I applied your patch.
Thanks for looking into this!
Received on Tue Dec 28 2010 - 15:42:23 UTC