12 lines
308 B
Bash
12 lines
308 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
pacman --noconfirm -Sy git
|
|
|
|
[ -d /home/arch/minecraft-deploy ] || su -c "git clone https://git.itkeller.eu/aperture_science/minecraft-deploy.git ~/minecraft-deploy" arch
|
|
|
|
# something fishy is going on in the background
|
|
sleep 15
|
|
|
|
su -c "bash ~/minecraft-deploy/install.sh" arch
|