Fix comparison to not use aws for non-PC builds
This commit is contained in:
parent
87d5d1d9b5
commit
37f013c835
@ -75,7 +75,7 @@ function dl_check {
|
||||
echo "New image available"
|
||||
rm -rf img-$DL_FLAVOR-$DL_METHOD*
|
||||
|
||||
if [[ "${DL_FLAVOR}"=="pocket" || "${DL_FLAVOR}"=="pocket-next" ]]; then
|
||||
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
|
||||
else
|
||||
wget opensource.nextthing.co/chippian/$DL_DIST/img-$DL_FLAVOR-$DL_METHOD.tar.gz|| exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user