Change to tar for unzip
This commit is contained in:
parent
ad6b06edf5
commit
3a1eed166c
@ -88,10 +88,10 @@ 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 [[ ! -d "Benchmark" ]]; then
|
if [[ ! -d "Benchmark" ]]; then
|
||||||
file="benchmark-v2-1-0.zip"
|
file="benchmark-v2-1-0.tar.gz"
|
||||||
echo "missing Benchmark v2, downloading..."
|
echo "missing Benchmark v2, downloading..."
|
||||||
__curl "http://nginxwebdav:80/ferdinland/devtools/benchmark-v2-1-0.zip" > $file
|
__curl "http://nginxwebdav:80/ferdinland/devtools/benchmark-v2-1-0.zip" > $file
|
||||||
jar xvf $file
|
tar -zxvf $file
|
||||||
rm $file
|
rm $file
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user