Try harder to snap download
This commit is contained in:
parent
35b7e50166
commit
f3b04894b9
|
@ -236,13 +236,17 @@ start() {
|
||||||
set -ex;
|
set -ex;
|
||||||
apt-get -qq update;
|
apt-get -qq update;
|
||||||
apt-get -qq -y install snapd;
|
apt-get -qq -y install snapd;
|
||||||
snap download --channel=$snapChannel solana;
|
until snap download --channel=$snapChannel solana; do
|
||||||
|
sleep 1;
|
||||||
|
done
|
||||||
"
|
"
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
(
|
(
|
||||||
cd "$SOLANA_ROOT"
|
cd "$SOLANA_ROOT"
|
||||||
snap download --channel="$snapChannel" solana
|
until snap download --channel="$snapChannel" solana; do
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
snapFilename="$(echo "$SOLANA_ROOT"/solana_*.snap)"
|
snapFilename="$(echo "$SOLANA_ROOT"/solana_*.snap)"
|
||||||
|
|
Loading…
Reference in New Issue