Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Sam Heinz
2025-06-22 19:40:06 +10:00
351 changed files with 5771 additions and 3060 deletions
+4 -3
View File
@@ -16,8 +16,9 @@ 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-aarch64.zip" -o $(basename "https://github.com/silverbulletmd/silverbullet/releases/download/${RELEASE}/silverbullet-server-linux-aarch64.zip")
unzip -oq -d /opt/silverbullet/bin/ silverbullet-server-linux-aarch64.zip
cd /opt
curl -fsSL "https://github.com/silverbulletmd/silverbullet/releases/download/${RELEASE}/silverbullet-server-linux-aarch64.zip" -o "silverbullet-server-linux-aarch64.zip"
$STD unzip -o -d /opt/silverbullet/bin/ silverbullet-server-linux-aarch64.zip
chmod +x /opt/silverbullet/bin/silverbullet
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
msg_ok "Installed Silverbullet"
@@ -46,7 +47,7 @@ motd_ssh
customize
msg_info "Cleaning up"
rm -rf silverbullet-server-linux-aarch64.zip
rm -rf /opt/silverbullet-server-linux-aarch64.zip
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"