Add CTF mod for Minetest
This commit is contained in:
parent
c6636ef834
commit
19bfb4303a
|
@ -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 <<EOF
|
||||
[Unit]
|
||||
Description=Minetest server
|
||||
|
|
Loading…
Reference in New Issue