Fix pocketchip option

This commit is contained in:
computermouth 2016-08-24 17:34:50 -07:00
parent dcbd2ff550
commit d1d15e8655

View File

@ -76,7 +76,7 @@ function dl_check {
rm -rf img-$DL_FLAVOR-$DL_METHOD*
if [[ "${DL_FLAVOR}" == "pocket" || "${DL_FLAVOR}" == "pocket-next" ]]; then
aws s3 cp s3://opensource.nextthing.co/chippian/$DL_DIST/img-$DL_FLAVOR-$DL_METHOD.tar.gz . || exit 1
aws s3 cp s3://opensource.nextthing.co/chippian/rootfs/img-$DL_FLAVOR-$DL_METHOD.tar.gz . || exit 1
else
wget opensource.nextthing.co/chippian/$DL_DIST/img-$DL_FLAVOR-$DL_METHOD.tar.gz|| exit 1
fi