From d5bc3421fcf046755f92add7b05b28e5289ca1ae Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 24 Sep 2024 20:15:23 -0700 Subject: [PATCH] install-tusd: Be careful to match the complete version line. Signed-off-by: Anders Kaseorg --- tools/setup/install-tusd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/setup/install-tusd b/tools/setup/install-tusd index 6b3cb7ac68..e9019cacc4 100755 --- a/tools/setup/install-tusd +++ b/tools/setup/install-tusd @@ -17,7 +17,8 @@ case $arch in esac check_version() { - out="$(tusd --version)" && [[ "$out" = *"Version: v$version"* ]] + out="$(tusd --version)" && [[ "$out" = "Version: v$version +"* ]] } if ! check_version 2>/dev/null; then