Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wget https://launcher.mojang.com/download/Minecraft.tar.gz
- if [ $? -eq 0 ] ; then
- echo "Download succeeded."
- else
- echo "Download failed."
- exit 1
- fi
- rm -rf minecraft-launcher/
- tar -xf Minecraft.tar.gz
- if [ $? -eq 0 ] ; then
- echo "Extraction succeeded."
- else
- echo "Extraction failed."
- exit 2
- fi
- rm Minecraft.tar.gz
Add Comment
Please, Sign In to add comment