We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67541a9 commit 4d325d4Copy full SHA for 4d325d4
ct/commafeed.sh
@@ -33,9 +33,12 @@ function update_script() {
33
systemctl stop commafeed
34
msg_ok "Stopped ${APP}"
35
36
- msg_info "Installing Dependencies"
37
- $STD apt-get install -y rsync
38
- msg_ok "Installed Dependencies"
+ if ! [[ $(dpkg -s rsync 2>/dev/null) ]]; then
+ msg_info "Installing Dependencies"
+ $STD apt-get update
39
+ $STD apt-get install -y rsync
40
+ msg_ok "Installed Dependencies"
41
+ fi
42
43
msg_info "Updating ${APP} to ${RELEASE}"
44
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")
0 commit comments