Fix typo and drop use of useless tempdir.

This commit is contained in:
sparrowhawk 2020-08-14 13:02:17 +02:00 committed by Timothée Floure
parent 0e4bc443e2
commit ef748cf8e2
No known key found for this signature in database
GPG Key ID: 4502C902C00A1E12
2 changed files with 2 additions and 5 deletions

View File

@ -11,10 +11,7 @@ EOF
# Download and copy source
cat << EOF
TMPDIR=\$(mktemp -d)
cd \$TMPDIR || exit 1
wget https://github.com/Requarks/wiki/releases/download/2.4.107/wiki-js.tar.gz
tar xf wiki-js.tar.gz -C /var/wiki
wget -O - https://github.com/Requarks/wiki/releases/download/2.4.107/wiki-js.tar.gz | tar xz -C /var/wiki
EOF
# Install deps and launch