Change to tar for unzip

This commit is contained in:
themodernhakr 2025-03-11 03:15:17 -05:00
parent ad6b06edf5
commit 3a1eed166c

View File

@ -88,10 +88,10 @@ if [[ "$ENV" = "dev" || "stag" ]]; then
source ./config/server-properties/helpers/curl.sh
cd ./world/datapacks
if [[ ! -d "Benchmark" ]]; then
file="benchmark-v2-1-0.zip"
file="benchmark-v2-1-0.tar.gz"
echo "missing Benchmark v2, downloading..."
__curl "http://nginxwebdav:80/ferdinland/devtools/benchmark-v2-1-0.zip" > $file
jar xvf $file
tar -zxvf $file
rm $file
fi
)