Fix tmpdir
This commit is contained in:
parent
781c2817c5
commit
0496594c98
|
@ -23,9 +23,9 @@ fi
|
||||||
|
|
||||||
# Install Lix
|
# Install Lix
|
||||||
mkdir -p /opt/supertuxparty
|
mkdir -p /opt/supertuxparty
|
||||||
curl 'https://supertux.party/download/latest/server.zip' > ${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
|
unzip -o -d /opt/supertuxparty ${TMPDIR:-/tmp}/server.zip
|
||||||
rm ${TMPDIR:/tmp}/server.zip
|
rm ${TMPDIR:-/tmp}/server.zip
|
||||||
|
|
||||||
# Create SystemD unit
|
# Create SystemD unit
|
||||||
cat > /etc/systemd/system/supertuxparty.service <<EOF
|
cat > /etc/systemd/system/supertuxparty.service <<EOF
|
||||||
|
|
Reference in New Issue