diff --git a/scripts/deploy_minetest.sh b/scripts/deploy_minetest.sh index 4daadf3..ba78ecc 100755 --- a/scripts/deploy_minetest.sh +++ b/scripts/deploy_minetest.sh @@ -41,10 +41,17 @@ cd - rm -rf ${TMPDIR:-/tmp}/minetest-build sudo -u ${systemuser} mkdir -p /home/${systemuser}/.minetest/games + +# Install Blockbomber curl --location https://content.minetest.net/packages/MisterE/blockbomber/releases/11576/download/ > ${TMPDIR:-/tmp}/blockbomber.zip sudo -u ${systemuser} unzip -o -d /home/${systemuser}/.minetest/games "${TMPDIR:-/tmp}"/blockbomber.zip rm -f "${TMPDIR:-/tmp}/blockbomber.zip" +# Install Capture the flag +curl --location https://content.minetest.net/packages/rubenwardy/capturetheflag/releases/22302/download/ > ${TMPDIR:-/tmp}/capturetheflag.zip +sudo -u ${systemuser} unzip -o -d /home/${systemuser}/.minetest/games "${TMPDIR:-/tmp}"/capturetheflag.zip +rm -f "${TMPDIR:-/tmp}/capturetheflag.zip" + cat > /etc/systemd/system/minetest.service <