From 76b7506baefcced09401b8cb973ae1696dd3433a Mon Sep 17 00:00:00 2001 From: Ilya Kogan Date: Wed, 12 Aug 2026 15:35:26 -0400 Subject: [PATCH] Fix erroneously detecting gum as present when it's not. --- adp-connect.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adp-connect.sh b/adp-connect.sh index 01d2021..f495064 100755 --- a/adp-connect.sh +++ b/adp-connect.sh @@ -348,7 +348,7 @@ download_latest_release() { gum spin --show-error --show-output --title="Downloading checksums..." -- \ curl -sL --show-error "$checksum_url" -o "${TEMP_DIR}/${binary_name}_checksums" else - info -e "🔗 Downloading checksums..." + info "🔗 Downloading checksums..." curl -L --show-error "$checksum_url" -o "${TEMP_DIR}/${binary_name}_checksums" fi @@ -749,7 +749,7 @@ the integrity of these cannot be assured. You've accepted this risk with the -I the ACCEPT_SUPPLY_CHAIN_SECURITY environment variable. Continuing." fi -if should_install "gum"; then +if [[ -n "${FORCE_UPDATE}" ]] || ! gum -v &>/dev/null; then download_latest_release "charmbracelet/gum" "gum" "tar.gz" || exit 1 extract_download "gum" "tar.gz" || exit 1 install -m "0755" "${TEMP_DIR}/gum"*/"gum" "$HOME/.local/bin/gum" || exit 1