mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-18 04:21:17 +00:00
Update wikijs-v5.sh
fix path
This commit is contained in:
parent
120da5bea6
commit
2eb375a516
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user