From 6f21fec430c243c88a5ce29fa777bb2894ce038a Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 19 Sep 2025 09:00:30 +0200 Subject: [PATCH] Update tunarr.sh --- ct/tunarr.sh | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/ct/tunarr.sh b/ct/tunarr.sh index d804606c..cc8d2aed 100644 --- a/ct/tunarr.sh +++ b/ct/tunarr.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-2}" var_ram="${var_ram:-1024}" var_disk="${var_disk:-5}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" @@ -27,9 +27,9 @@ function update_script() { exit fi if check_for_gh_release "tunarr" "chrisbenincasa/tunarr"; then - msg_info "Stopping ${APP}" + msg_info "Stopping Service" systemctl stop tunarr - msg_ok "Stopped ${APP}" + msg_ok "Stopped Service" msg_info "Creating Backup" tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" /usr/.local/share/tunarr @@ -37,17 +37,16 @@ function update_script() { CLEAN_INSTALL=1 fetch_and_deploy_gh_release "tunarr" "chrisbenincasa/tunarr" "singlefile" "latest" "/opt/tunarr" "*linux-x64" - msg_info "Starting ${APP}" + msg_info "Starting Service" systemctl start tunarr - msg_ok "Started ${APP}" - - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Update Successfully" fi if check_for_gh_release "ersatztv-ffmpeg" "ErsatzTV/ErsatzTV-ffmpeg"; then - msg_info "Stopping ${APP}" + msg_info "Stopping Service" systemctl stop tunarr - msg_ok "Stopped ${APP}" + msg_ok "Stopped Service" CLEAN_INSTALL=1 fetch_and_deploy_gh_release "ersatztv-ffmpeg" "ErsatzTV/ErsatzTV-ffmpeg" "prebuild" "latest" "/opt/ErsatzTV-ffmpeg" "*-linux64-gpl-7.1.tar.xz" @@ -58,10 +57,10 @@ function update_script() { ln -sf /opt/ErsatzTV-ffmpeg/bin/ffprobe /usr/local/bin/ffprobe msg_ok "ffmpeg links set" - msg_info "Starting ${APP}" + msg_info "Starting Service" systemctl start tunarr - msg_ok "Started ${APP}" - msg_ok "Updated Successfully" + msg_ok "Started Service" + msg_ok "Update Successfully" fi exit }