mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-16 15:51:12 +02:00
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:
@@ -96,7 +96,10 @@ PORT=${PORT:-$DEFAULT_PORT}
|
||||
read -r -p "Would you like to install ${APP}? (y/n): " install_prompt
|
||||
if [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then
|
||||
msg_info "Installing ${APP} on ${OS}"
|
||||
$STD $PKG_MANAGER wget tar curl
|
||||
$STD $PKG_MANAGER \
|
||||
wget \
|
||||
tar \
|
||||
curl
|
||||
curl -fsSL "https://github.com/filebrowser/filebrowser/releases/latest/download/linux-amd64-filebrowser.tar.gz" | tar -xzv -C /usr/local/bin &>/dev/null
|
||||
chmod +x "$INSTALL_PATH"
|
||||
msg_ok "Installed ${APP}"
|
||||
|
||||
Reference in New Issue
Block a user