From 90e901ce9fc8b56fa2db7aa80bc99d252d0d2ea9 Mon Sep 17 00:00:00 2001 From: MickLesk <47820557+MickLesk@users.noreply.github.com> Date: Mon, 16 Nov 2026 11:23:00 +0100 Subject: [PATCH] Portabase: check rclone and restic releases the usual way check_for_gh_release already reports a tool without a version file as new, so the extra existence checks only hid its release line. --- ct/portabase.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/portabase.sh b/ct/portabase.sh index 779ab1aec..a59947ed8 100644 --- a/ct/portabase.sh +++ b/ct/portabase.sh @@ -32,11 +32,11 @@ function update_script() { fi TOOLS_CHANGED=false - if ! command -v rclone >/dev/null || check_for_gh_release "rclone" "rclone/rclone"; then + if check_for_gh_release "rclone" "rclone/rclone"; then TOOLS_CHANGED=true fetch_and_deploy_gh_release "rclone" "rclone/rclone" "binary" "latest" "" "rclone-v*-linux-$(arch_resolve).deb" fi - if [[ ! -x /usr/local/bin/restic ]] || check_for_gh_release "restic" "restic/restic"; then + if check_for_gh_release "restic" "restic/restic"; then TOOLS_CHANGED=true fetch_and_deploy_gh_release "restic" "restic/restic" "singlefile" "latest" "/usr/local/bin" "restic_*_linux_$(arch_resolve).bz2" fi