diff options
author | Martin Dengler <martin@martindengler.com> | 2009-06-23 20:05:21 (GMT) |
---|---|---|
committer | Martin Dengler <martin@martindengler.com> | 2009-06-23 20:15:19 (GMT) |
commit | ec4daa170649efc6dc665220bc5176d212e72f80 (patch) | |
tree | c87955b77f4c5579aa47a7dadbcf5563412c7bf0 | |
parent | 9a05966ccf51eafca18c25d7a130d2421535934a (diff) |
ignore ASLO IPv6 address
-rw-r--r-- | soas-sugar.ks | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/soas-sugar.ks b/soas-sugar.ks index 3abe00e..718c2b6 100644 --- a/soas-sugar.ks +++ b/soas-sugar.ks @@ -228,10 +228,10 @@ mkdir -p $CACHE_DIR for id in $ASLO ; do url=http://activities.sugarlabs.org/en-US/sugar/downloads/latest/$id - remote_file=$(basename $(curl -s -L -w %{url_effective} -I $url | tail -1)) + remote_file=$(basename $(curl -4 -s -L -w %{url_effective} -I $url | tail -1)) bundle=$CACHE_DIR/$remote_file if [ ! -f $bundle ] ; then - curl -L $url > $bundle + curl -4 -L $url > $bundle fi unzip -qq -d $BUNDLES_DIR $bundle done |