From b45c32ba4e68ff0fad1b9df81b74256e2c74751d Mon Sep 17 00:00:00 2001 From: Botspot Date: Sun, 22 Aug 2021 22:14:24 -0500 Subject: [PATCH] Minecraft Java: first remove ~/Minecraft folder --- apps/Minecraft Java/install-32 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/Minecraft Java/install-32 b/apps/Minecraft Java/install-32 index 111de30..62cc88f 100755 --- a/apps/Minecraft Java/install-32 +++ b/apps/Minecraft Java/install-32 @@ -7,12 +7,8 @@ function error { exit 1 } -#use the error function often! -#If a certain command is necessary for installation to continue, then add this to the end of it: -# || error 'reason' -#example below: - #Run modified setupMC.sh +rm -rf ~/Minecraft || sudo rm -rf ~/Minecraft || error "Failed to first remove ~/Minecraft folder!" mkdir -p ~/Minecraft && cd ~/Minecraft && wget https://github.com/chunky-milk/Minecraft/raw/main/setupMC.sh && chmod +x setupMC.sh && ./setupMC.sh || error 'Failed to install the launcher!' #Move launcher to /usr/share/