File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,13 +37,13 @@ function update_script() {
3737
3838 msg_info " Updating to ${RELEASE} "
3939 mkdir -p /opt/trilium_backup
40- mv /opt/trilium/{ db,dump-db} /opt/trilium_backup/
40+ mv /opt/trilium/db, /opt/trilium_backup/
4141 rm -rf /opt/trilium
4242 cd /tmp
4343 curl -fsSL " https://github.com/TriliumNext/Notes/releases/download/v${RELEASE} /TriliumNextNotes-Server-v${RELEASE} -linux-x64.tar.xz" -o $( basename " https://github.com/TriliumNext/Notes/releases/download/v${RELEASE} /TriliumNextNotes-Server-v${RELEASE} -linux-x64.tar.xz" )
4444 tar -xf TriliumNextNotes-Server-v${RELEASE} -linux-x64.tar.xz
4545 mv TriliumNextNotes-Server-$RELEASE -linux-x64 /opt/trilium
46- cp -r /opt/trilium_backup/{db,dump-db} /opt/trilium/
46+ cp -r /opt/trilium_backup/db /opt/trilium/
4747 echo " v${RELEASE} " > /opt/${APP} _version.txt
4848 msg_ok " Updated to ${RELEASE} "
4949
You can’t perform that action at this time.
0 commit comments