From 2eb375a516a545e7acbd33fb6a8fb9d41bab009c Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 6 Jan 2023 10:36:13 -0500 Subject: [PATCH] Update wikijs-v5.sh fix path --- ct/wikijs-v5.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/wikijs-v5.sh b/ct/wikijs-v5.sh index ebf035af..465d6f82 100644 --- a/ct/wikijs-v5.sh +++ b/ct/wikijs-v5.sh @@ -318,9 +318,9 @@ systemctl stop wikijs msg_ok "Stopped ${APP}" msg_info "Updating ${APP}" -cp /opt/wiki/config.yml ~/config.yml.bak -rm -rf /opt/wiki/* -cd /opt/wiki +cp /opt/wikijs/config.yml ~/config.yml.bak +rm -rf /opt/wikijs/* +cd /opt/wikijs wget https://github.com/Requarks/wiki/releases/latest/download/wiki-js.tar.gz &>/dev/null tar xzf wiki-js.tar.gz cp ~/config.yml.bak ./config.yml