Improve download_mcdata script
This commit is contained in:
parent
3c373ccfe3
commit
d099ae6965
13
download_mcdata.sh
Normal file → Executable file
13
download_mcdata.sh
Normal file → Executable file
|
@ -1,10 +1,11 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
VERSION="1.16.4"
|
VERSION="1.16.4"
|
||||||
|
|
||||||
wget -O/tmp/mcdata.zip https://apimon.de/mcdata/$VERSION/$VERSION.zip
|
wget -Omcdata.zip "https://apimon.de/mcdata/$VERSION/$VERSION.zip"
|
||||||
rm -rf minecraft_data
|
rm -r mosfet/minecraft_data
|
||||||
mkdir minecraft_data
|
mkdir mosfet/minecraft_data
|
||||||
unzip /tmp/mcdata.zip -d minecraft_data
|
unzip mcdata.zip -d mosfet/minecraft_data
|
||||||
rm /tmp/mcdata.zip
|
rm mcdata.zip
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user