Unzip and remove Benchmark file
This commit is contained in:
parent
5c2ae9a668
commit
852649ac04
@ -87,12 +87,15 @@ if [[ "$ENV" = "dev" || "stag" ]]; then
|
|||||||
(
|
(
|
||||||
source ./config/server-properties/helpers/curl.sh
|
source ./config/server-properties/helpers/curl.sh
|
||||||
cd ./world/datapacks
|
cd ./world/datapacks
|
||||||
if [[ ! -f benchmark-v2-1-0.zip ]]; then
|
if [[ ! -d "Benchmark" ]]; then
|
||||||
|
file="benchmark-v2-1-0.zip"
|
||||||
echo "missing Benchmark v2, downloading..."
|
echo "missing Benchmark v2, downloading..."
|
||||||
__curl "http://nginxwebdav:80/ferdinland/devtools/benchmark-v2-1-0.zip" > benchmark-v2-1-0.zip
|
__curl "http://nginxwebdav:80/ferdinland/devtools/benchmark-v2-1-0.zip" > $file
|
||||||
|
gunzip $file
|
||||||
|
rm $file
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
echo "devltools all good!"
|
echo "devtools all good!"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user