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 # Download and copy source
cat << EOF cat << EOF
TMPDIR=\$(mktemp -d) wget -O - https://github.com/Requarks/wiki/releases/download/2.4.107/wiki-js.tar.gz | tar xz -C /var/wiki
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
EOF EOF
# Install deps and launch # Install deps and launch