From e428bb8604b08d7cef403e6dc07a6662ba2598cf Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 8 Aug 2024 12:21:17 -0400 Subject: [PATCH] Update trilium-install.sh switch to TriliumNext --- install/trilium-install.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/install/trilium-install.sh b/install/trilium-install.sh index 6e7861a6..d2e7ae3f 100644 --- a/install/trilium-install.sh +++ b/install/trilium-install.sh @@ -19,15 +19,13 @@ $STD apt-get install -y sudo $STD apt-get install -y mc msg_ok "Installed Dependencies" -RELEASE=$(curl -s https://api.github.com/repos/zadam/trilium/releases/latest | - grep "tag_name" | - awk '{print substr($2, 3, length($2)-4) }') +RELEASE=$(curl -s https://api.github.com/repos/TriliumNext/Notes/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -msg_info "Installing Trilium" -wget -q https://github.com/zadam/trilium/releases/download/v$RELEASE/trilium-linux-x64-server-$RELEASE.tar.xz +msg_info "Installing TriliumNext" +wget -q https://github.com/TriliumNext/Notes/releases/download/v$RELEASE/trilium-linux-x64-server-$RELEASE.tar.xz $STD tar -xvf trilium-linux-x64-server-$RELEASE.tar.xz mv trilium-linux-x64-server /opt/trilium -msg_ok "Installed Trilium" +msg_ok "Installed TriliumNext" msg_info "Creating Service" service_path="/etc/systemd/system/trilium.service"