From edd6eacdd3763c7eac7df9941505596851d4cd6e Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 22 Jan 2024 11:37:23 -0500 Subject: [PATCH] Update commafeed.sh add update path --- ct/commafeed.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ct/commafeed.sh b/ct/commafeed.sh index 0084964a..c5eeecad 100644 --- a/ct/commafeed.sh +++ b/ct/commafeed.sh @@ -55,7 +55,19 @@ function default_settings() { function update_script() { header_info if [[ ! -d /opt/commafeed ]]; then msg_error "No ${APP} Installation Found!"; exit; fi -msg_error "There is currently no update path available." +msg_info "Stopping CommaFeed" +systemctl stop commafeed +msg_ok "Stopped CommaFeed" + +msg_info "Updating CommaFeed" +cd /opt/commafeed +rm commafeed.jar +wget -q https://github.com/Athou/commafeed/releases/latest/download/commafeed.jar +msg_ok "Updated CommaFeed" + +msg_info "Starting CommaFeed" +systemctl start commafeed +msg_ok "Update Completed Successfully" exit }