diff --git a/scripts/install.sh b/scripts/install.sh index c35a2c85..47b15189 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -392,6 +392,15 @@ fi log_debug "Detected format '$format'" gpgv_binary="$(command -v gpgv || true)"; +# Fallback to common paths if command -v fails (e.g., in Docker builds where PATH isn't updated) +if [ ! -x "$gpgv_binary" ]; then + for path in /usr/bin/gpgv /bin/gpgv /usr/local/bin/gpgv; do + if [ -x "$path" ]; then + gpgv_binary="$path" + break + fi + done +fi if [ -x "$gpgv_binary" ]; then log_debug "Using $gpgv_binary for signature verification" else