refactor: coder-code-server GH-release binary install + multiline apt installs

- coder-code-server.sh: use fetch_and_deploy_gh_release (binary mode) + check_for_gh_release, add uninstall/update functions, update script + type=update handling
- copyparty.sh, filebrowser.sh, filebrowser-quantum.sh: format multi-package installs multiline
This commit is contained in:
MickLesk
2026-08-01 22:29:20 +02:00
parent 89e43f2753
commit cb58c616f7
4 changed files with 130 additions and 46 deletions
+3 -1
View File
@@ -136,7 +136,9 @@ if ! [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then
fi
msg_info "Installing ${APP} on ${OS}"
$STD $PKG_MANAGER curl ffmpeg
$STD $PKG_MANAGER \
curl \
ffmpeg
curl -fsSL https://github.com/gtsteffaniak/filebrowser/releases/latest/download/linux-amd64-filebrowser -o "$TMP_BIN"
chmod +x "$TMP_BIN"
mv -f "$TMP_BIN" /usr/local/bin/filebrowser