mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 09:54:36 +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:
parent
77997d558c
commit
129698dd3d
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue