From ef748cf8e248f4f3f4eed88e433fc34ab24b0cb5 Mon Sep 17 00:00:00 2001 From: Joachim Desroches Date: Fri, 14 Aug 2020 13:02:17 +0200 Subject: [PATCH] Fix typo and drop use of useless tempdir. --- type/__wikijs/gencode-remote | 5 +---- type/__wikijs/man.rst | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/type/__wikijs/gencode-remote b/type/__wikijs/gencode-remote index 2faf559..66d7df7 100644 --- a/type/__wikijs/gencode-remote +++ b/type/__wikijs/gencode-remote @@ -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 diff --git a/type/__wikijs/man.rst b/type/__wikijs/man.rst index 6573b60..50dcd1d 100644 --- a/type/__wikijs/man.rst +++ b/type/__wikijs/man.rst @@ -10,7 +10,7 @@ DESCRIPTION See wiki.js.org for more information. This type deploys with a postgresql database, since it is the upstream recommended for production, and they seem to -strongly suggest that in thenext releases, they will not support anything else. +strongly suggest that in the next releases, they will not support anything else. Currently, this type servers wikijs as standalone, listening on ports 80 and 443, and with a service file for OpenRC. Feel free to contribute a