put snapshot into variable

This commit is contained in:
cventastic
2021-12-16 18:20:32 +01:00
parent 08426ca955
commit db8bd2825d

View File

@@ -2,6 +2,6 @@
if [ ! -f /home/app/.pocket/setupdone ] if [ ! -f /home/app/.pocket/setupdone ]
then then
mkdir -p /home/app/.pocket/data mkdir -p /home/app/.pocket/data
wget -q -O - https://link.us1.storjshare.io/raw/jwb73f5wya2no5fcogrlpmmps7fq/pocket-public-blockchains/pocket-network-data-1214-rc-0.6.3.6.tar | tar -xv -C /home/app/.pocket/data/ wget -q -O - $POCKET_SNAPSHOT | tar -xv -C /home/app/.pocket/data/
touch /home/app/.pocket/setupdone touch /home/app/.pocket/setupdone
fi fi