Last active
April 5, 2020 16:54
-
-
Save seakintruth/841e432f6339579cf57e103ac530160f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo -s apt-get update | |
sudo -s apt-get upgrade -y | |
launcherUrl="https://launcher.mojang.com/download/Minecraft.deb" | |
fLauncher="$(mktemp /tmp/myscript.XXXXXX)" | |
echo "Downloading minecraft.deb to tempfile $fLauncher ..." | |
wget -P $fLauncher $launcherUrl | |
sudo -s apt-get install $fLauncher | |
echo "Deleting tempfile $fLuancher ..." | |
rm -f $fLauncher |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment