Fix tmpdir

This commit is contained in:
DeathByDenim 2022-09-21 15:16:33 -04:00
parent 781c2817c5
commit 0496594c98
Signed by: DeathByDenim
GPG Key ID: 4A475283D925365B
1 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@ fi
# Install Lix
mkdir -p /opt/supertuxparty
curl 'https://supertux.party/download/latest/server.zip' > ${TMPDIR:/tmp}/server.zip
unzip -o -d /opt/supertuxparty ${TMPDIR:/tmp}/server.zip
rm ${TMPDIR:/tmp}/server.zip
curl 'https://supertux.party/download/latest/server.zip' > ${TMPDIR:-/tmp}/server.zip
unzip -o -d /opt/supertuxparty ${TMPDIR:-/tmp}/server.zip
rm ${TMPDIR:-/tmp}/server.zip
# Create SystemD unit
cat > /etc/systemd/system/supertuxparty.service <<EOF