1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-29 11:23:07 +00:00

Install rsync in ct/commafeed.sh (#4086)

* Install rsync in ct/commafeed.sh

This commit installs rsync in the update script of commafeed for users who used the install script before rsync was added.

* Update commafeed.sh
This commit is contained in:
Maxwell Zhao 2025-04-28 18:46:18 -04:00 committed by GitHub
parent 77997d558c
commit 129698dd3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,13 @@ function update_script() {
systemctl stop commafeed
msg_ok "Stopped ${APP}"
if ! [[ $(dpkg -s rsync 2>/dev/null) ]]; then
msg_info "Installing Dependencies"
$STD apt-get update
$STD apt-get install -y rsync
msg_ok "Installed Dependencies"
fi
msg_info "Updating ${APP} to ${RELEASE}"
curl -fsSL "https://github.com/Athou/commafeed/releases/download/${RELEASE}/commafeed-${RELEASE}-h2-jvm.zip" -o $(basename "https://github.com/Athou/commafeed/releases/download/${RELEASE}/commafeed-${RELEASE}-h2-jvm.zip")
unzip -q commafeed-"${RELEASE}"-h2-jvm.zip