From 72c7abeb698df0c818b796d7b2c3f6a904fa0e25 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Sat, 31 May 2025 22:19:08 +0200 Subject: [PATCH] Silverbullet: Fix Installation (wrong path) (#4873) --- install/silverbullet-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install/silverbullet-install.sh b/install/silverbullet-install.sh index 590235e29..beb1aa4ea 100644 --- a/install/silverbullet-install.sh +++ b/install/silverbullet-install.sh @@ -16,7 +16,8 @@ update_os msg_info "Installing Silverbullet" RELEASE=$(curl -fsSL https://api.github.com/repos/silverbulletmd/silverbullet/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') mkdir -p /opt/silverbullet/bin /opt/silverbullet/space -curl -fsSL "https://github.com/silverbulletmd/silverbullet/releases/download/${RELEASE}/silverbullet-server-linux-x86_64.zip" -o "/opt/silverbullet/bin/silverbullet-server-linux-x86_64.zip" +cd /opt +curl -fsSL "https://github.com/silverbulletmd/silverbullet/releases/download/${RELEASE}/silverbullet-server-linux-x86_64.zip" -o "silverbullet-server-linux-x86_64.zip" $STD unzip -o -d /opt/silverbullet/bin/ silverbullet-server-linux-x86_64.zip chmod +x /opt/silverbullet/bin/silverbullet echo "${RELEASE}" >/opt/${APPLICATION}_version.txt @@ -46,7 +47,7 @@ motd_ssh customize msg_info "Cleaning up" -rm -rf silverbullet-server-linux-x86_64.zip +rm -rf /opt/silverbullet-server-linux-x86_64.zip $STD apt-get -y autoremove $STD apt-get -y autoclean msg_ok "Cleaned"