Update trilium.sh

This commit is contained in:
CanbiZ 2025-02-07 13:45:09 +01:00 committed by GitHub
parent 46a8ce91ca
commit 26db83e6a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ function update_script() {
wget -q https://github.com/TriliumNext/Notes/releases/download/${RELEASE}/TriliumNextNotes-linux-x64-${RELEASE}.tar.xz
tar -xf TriliumNextNotes-linux-x64-${RELEASE}.tar.xz
mv trilium-linux-x64-server /opt/trilium
mv /opt/trilium_backup/{db,dump-db} /opt/trilium/
cp -r /opt/trilium_backup/{db,dump-db} /opt/trilium/
msg_ok "Updated to ${RELEASE}"
msg_info "Cleaning up"